Bitcoin Core 28.99.0
P2P Digital Currency
Static Public Member Functions | List of all members
DefaultFormatter Struct Reference

Default formatter. More...

#include <serialize.h>

Static Public Member Functions

template<typename Stream , typename T >
static void Ser (Stream &s, const T &t)
 
template<typename Stream , typename T >
static void Unser (Stream &s, T &t)
 

Detailed Description

Default formatter.

Serializes objects as themselves.

The vector/prevector serialization code passes this to VectorFormatter to enable reusing that logic. It shouldn't be needed elsewhere.

Definition at line 769 of file serialize.h.

Member Function Documentation

◆ Ser()

template<typename Stream , typename T >
static void DefaultFormatter::Ser ( Stream &  s,
const T t 
)
inlinestatic

Definition at line 772 of file serialize.h.

Here is the call graph for this function:

◆ Unser()

template<typename Stream , typename T >
static void DefaultFormatter::Unser ( Stream &  s,
T t 
)
inlinestatic

Definition at line 775 of file serialize.h.

Here is the call graph for this function:

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