Bitcoin Core 31.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
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 762 of file serialize.h.

Member Function Documentation

◆ Ser()

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

Definition at line 765 of file serialize.h.

Here is the call graph for this function:

◆ Unser()

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

Definition at line 768 of file serialize.h.

Here is the call graph for this function:

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