#include <streams.h>
|
| | CDataStream (int nTypeIn, int nVersionIn) |
| |
| | CDataStream (Span< const uint8_t > sp, int type, int version) |
| |
| | CDataStream (Span< const value_type > sp, int nTypeIn, int nVersionIn) |
| |
| int | GetType () const |
| |
| void | SetVersion (int n) |
| |
| int | GetVersion () const |
| |
| template<typename T > |
| CDataStream & | operator<< (const T &obj) |
| |
| template<typename T > |
| CDataStream & | operator>> (T &&obj) |
| |
| | DataStream () |
| |
| | DataStream (Span< const uint8_t > sp) |
| |
| | DataStream (Span< const value_type > sp) |
| |
| std::string | str () const |
| |
| const_iterator | begin () const |
| |
| iterator | begin () |
| |
| const_iterator | end () const |
| |
| iterator | end () |
| |
| size_type | size () const |
| |
| bool | empty () const |
| |
| void | resize (size_type n, value_type c=value_type{}) |
| |
| void | reserve (size_type n) |
| |
| const_reference | operator[] (size_type pos) const |
| |
| reference | operator[] (size_type pos) |
| |
| void | clear () |
| |
| value_type * | data () |
| |
| const value_type * | data () const |
| |
| void | insert (iterator it, std::vector< value_type >::const_iterator first, std::vector< value_type >::const_iterator last) |
| |
| void | insert (iterator it, const value_type *first, const value_type *last) |
| |
| iterator | erase (iterator it) |
| |
| iterator | erase (iterator first, iterator last) |
| |
| void | Compact () |
| |
| bool | Rewind (std::optional< size_type > n=std::nullopt) |
| |
| bool | eof () const |
| |
| int | in_avail () const |
| |
| void | read (Span< value_type > dst) |
| |
| void | ignore (int nSize) |
| |
| void | write (Span< const value_type > src) |
| |
| template<typename Stream > |
| void | Serialize (Stream &s) const |
| |
| template<typename T > |
| DataStream & | operator<< (const T &obj) |
| |
| template<typename T > |
| DataStream & | operator>> (T &&obj) |
| |
| void | Xor (const std::vector< uint8_t > &key) |
| | XOR the contents of this stream with a certain key. More...
|
| |
Definition at line 394 of file streams.h.
◆ CDataStream() [1/3]
| CDataStream::CDataStream |
( |
int |
nTypeIn, |
|
|
int |
nVersionIn |
|
) |
| |
|
inlineexplicit |
◆ CDataStream() [2/3]
| CDataStream::CDataStream |
( |
Span< const uint8_t > |
sp, |
|
|
int |
type, |
|
|
int |
version |
|
) |
| |
|
inlineexplicit |
◆ CDataStream() [3/3]
| CDataStream::CDataStream |
( |
Span< const value_type > |
sp, |
|
|
int |
nTypeIn, |
|
|
int |
nVersionIn |
|
) |
| |
|
inlineexplicit |
◆ GetType()
| int CDataStream::GetType |
( |
| ) |
const |
|
inline |
◆ GetVersion()
| int CDataStream::GetVersion |
( |
| ) |
const |
|
inline |
◆ operator<<()
◆ operator>>()
◆ SetVersion()
| void CDataStream::SetVersion |
( |
int |
n | ) |
|
|
inline |
◆ nType
◆ nVersion
| int CDataStream::nVersion |
|
private |
The documentation for this class was generated from the following file: