Bitcoin Core 28.99.0
P2P Digital Currency
Public Member Functions | List of all members
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 504 of file serialize.h.

Member Function Documentation

◆ Ser()

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

Definition at line 506 of file serialize.h.

◆ Unser()

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

Definition at line 511 of file serialize.h.


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