WriteCompactSize overloads
Declared in <serialize.h>
Account for a CompactSize encoding when computing a serialized size.
void
WriteCompactSize(
SizeComputer& os,
uint64_t nSize);
» more...
Write a value to a stream in CompactSize encoding.
template<typename Stream>
void
WriteCompactSize(
Stream& os,
uint64_t nSize);
» more...
| Name | Description |
|---|---|
| os | The size computer to update. |
| nSize | The value that would be encoded as a CompactSize. |