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