![]() |
Bitcoin Core
25.99.0
P2P Digital Currency
|
Wrapper that overrides the GetParams() function of a stream (and hides GetVersion/GetType). More...
#include <serialize.h>
Public Member Functions | |
ParamsStream (const Params ¶ms LIFETIMEBOUND, SubStream &substream LIFETIMEBOUND) | |
template<typename U > | |
ParamsStream & | operator<< (const U &obj) |
template<typename U > | |
ParamsStream & | operator>> (U &&obj) |
void | write (Span< const std::byte > src) |
void | read (Span< std::byte > dst) |
void | ignore (size_t num) |
bool | eof () const |
size_t | size () const |
const Params & | GetParams () const |
int | GetVersion ()=delete |
int | GetType ()=delete |
Private Attributes | |
const Params & | m_params |
SubStream & | m_substream |
Wrapper that overrides the GetParams() function of a stream (and hides GetVersion/GetType).
Definition at line 1143 of file serialize.h.
|
inline |
Definition at line 1149 of file serialize.h.
|
inline |
Definition at line 1155 of file serialize.h.
|
inline |
Definition at line 1157 of file serialize.h.
|
delete |
|
delete |
|
inline |
Definition at line 1154 of file serialize.h.
|
inline |
|
inline |
|
inline |
Definition at line 1153 of file serialize.h.
|
inline |
Definition at line 1156 of file serialize.h.
|
inline |
Definition at line 1152 of file serialize.h.
|
private |
Definition at line 1145 of file serialize.h.
|
private |
Definition at line 1146 of file serialize.h.