Bitcoin Core 31.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
VarIntFormatter< Mode > Struct Template Reference

Serialization wrapper class for integers in VarInt format. More...

#include <serialize.h>

Public Member Functions

template<typename Stream, typename I>
void Ser (Stream &s, I v)
template<typename Stream, typename I>
void Unser (Stream &s, I &v)

Detailed Description

template<VarIntMode Mode>
struct VarIntFormatter< Mode >

Serialization wrapper class for integers in VarInt format.

Definition at line 497 of file serialize.h.

Member Function Documentation

◆ Ser()

template<VarIntMode Mode>
template<typename Stream, typename I>
void VarIntFormatter< Mode >::Ser ( Stream & s,
I v )
inline

Definition at line 499 of file serialize.h.

Here is the call graph for this function:

◆ Unser()

template<VarIntMode Mode>
template<typename Stream, typename I>
void VarIntFormatter< Mode >::Unser ( Stream & s,
I & v )
inline

Definition at line 504 of file serialize.h.

Here is the call graph for this function:

The documentation for this struct was generated from the following file: