CompactSizeReader

Reads a CompactSize value from a stream into a referenced integer.

Synopsis

Declared in <serialize.h>

class CompactSizeReader;

Member Functions

NameDescription
CompactSizeReader [constructor]Construct a reader bound to the destination integer.
Unserialize Read a CompactSize value from the stream into the referenced integer.

Protected Data Members

NameDescription
n Reference to the integer that receives the decoded value.