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

read(br)

Inject properties from buffer reader.

Parameters:
Name Type Description
br bio.BufferReader
Source:

write(bw) → {BufioWriter}

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

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