Bitcoin Core 32.1.0
P2P Digital Currency
Loading...
Searching...
No Matches
LimitedVectorFormatter< Limit, Formatter > Struct Template Reference

Limited vector formatter. More...

#include <serialize.h>

Public Member Functions

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

Detailed Description

template<size_t Limit, class Formatter = DefaultFormatter>
struct LimitedVectorFormatter< Limit, Formatter >

Limited vector formatter.

Throws an error if a vector is oversized.

Definition at line 799 of file serialize.h.

Member Function Documentation

◆ Ser()

template<size_t Limit, class Formatter = DefaultFormatter>
template<typename Stream, typename V>
void LimitedVectorFormatter< Limit, Formatter >::Ser ( Stream & s,
const V & v )
inline

Definition at line 818 of file serialize.h.

Here is the call graph for this function:

◆ Unser()

template<size_t Limit, class Formatter = DefaultFormatter>
template<typename Stream, typename V>
void LimitedVectorFormatter< Limit, Formatter >::Unser ( Stream & s,
V & v )
inline

Definition at line 802 of file serialize.h.

Here is the call graph for this function:

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