Class: BlockRecord

blockstore/records~BlockRecord()

Block Record

Constructor

new BlockRecord()

Create a block record.

Source:

Methods

getSize() → {Number}

Get size of the serialized block record.

Source:
Returns:
Type
Number

(private) read(data)

Inject properties from buffer reader.

Parameters:
Name Type Description
data BufferReader
Source:

write(bw) → {BufferWriter}

Serialize the block record. Write block record to a buffer writer

Parameters:
Name Type Description
bw BufferWriter
Source:
Returns:
Type
BufferWriter