Bitcoin Core  0.19.99
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 508 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 510 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 515 of file serialize.h.


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