[#WriteVarInt-0a] = WriteVarInt :mrdocs: Write a value to a stream in VarInt encoding. == Synopsis Declared in `<serialize.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< typename Stream, xref:VarIntMode.adoc[VarIntMode] Mode, typename I> void WriteVarInt( Stream& os, I n); ---- == Parameters [cols="1,4"] |=== | Name| Description | *os* | The output stream. | *n* | The value to encode as a VarInt. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#