Bitcoin ABC 0.30.5
P2P Digital Currency
|
#include <streams.h>
Public Member Functions | |
OverrideStream (Stream *stream_, int nType_, int nVersion_) | |
template<typename T > | |
OverrideStream< Stream > & | operator<< (const T &obj) |
template<typename T > | |
OverrideStream< Stream > & | operator>> (T &&obj) |
void | write (Span< const std::byte > src) |
void | read (Span< std::byte > dst) |
int | GetVersion () const |
int | GetType () const |
void | ignore (size_t size) |
Private Attributes | |
Stream * | stream |
const int | nType |
const int | nVersion |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
private |
|
private |