Writes a fixed integer value to a stream in CompactSize format.

Synopsis

Declared in <serialize.h>

class CompactSizeWriter;

Member Functions

Name

Description

CompactSizeWriter [constructor]

Construct a writer holding the value to serialize.

Serialize

Write the held value to the stream in CompactSize format.

Protected Data Members

Name

Description

n

The value to write as a CompactSize.

Created with MrDocs