Constructor
new Count(height, index)
Create count record.
Parameters:
Name | Type | Description |
---|---|---|
height |
Number | |
index |
Number |
- Source:
Methods
(static) fromRaw(data) → {Count}
Instantiate a count from a buffer.
Parameters:
Name | Type | Description |
---|---|---|
data |
Buffer |
- Source:
Returns:
- Type
- Count
(private) fromRaw(data)
Deserialize.
Parameters:
Name | Type | Description |
---|---|---|
data |
Buffer |
- Source:
toRaw() → {Buffer}
Serialize.
- Source:
Returns:
- Type
- Buffer