[#ReadVarInt]
= ReadVarInt
:mrdocs:

Read a VarInt&hyphen;encoded value from a stream&period;

== Synopsis

Declared in `&lt;serialize&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    typename Stream,
    xref:VarIntMode.adoc[VarIntMode] Mode,
    typename I&gt;
I
ReadVarInt(Stream& is);
----

== Return Value

The decoded integer value&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *is*
| The input stream&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
