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