Write a value to a stream in VarInt encoding.
Synopsis
Declared in <serialize.h>
template<
typename Stream,
VarIntMode Mode,
typename I>
void
WriteVarInt(
Stream& os,
I n);
Parameters
Name |
Description |
os |
The output stream. |
n |
The value to encode as a VarInt. |
Created with MrDocs