Methods
getSize() → {Number}
Calculate size.
- Source:
Returns:
- Type
- Number
inject(state) → {this}
Clone the state.
Parameters:
Name | Type | Description |
---|---|---|
state |
ChainState |
- Source:
Returns:
- Type
- this
read(br) → {this}
Inject properties from serialized data.
Parameters:
Name | Type | Description |
---|---|---|
br |
bio.BufferReader |
- Source:
Returns:
- Type
- this
write(bw) → {BufioWriter}
Serialize the chain state.
Parameters:
Name | Type | Description |
---|---|---|
bw |
BufioWriter |
- Source:
Returns:
- Type
- BufioWriter