IBlockIndexFormat
Description
Base interface for classes that provide a binary representation of index values for a BlockIndex.
Frequently used block index nodes are kept in memory, where values are stored as TValue
values. Block index nodes are serialized to the underlying persistent store using the ValueRead and ValueWrite method.
Public / Methods
ValueRead
Reads a single value from the given stream.
The method is expected to read exactly ValueBytes from the stream in.
- IOException
-
If an I/O error has occurred.
ValueWrite
Writes a single value to the given stream.
The method is expected to write exactly ValueBytes to the stream in.
- IOException
-
If an I/O error has occurred.