Minimal stream for reading from an existing byte array by Span.
More...
#include <streams.h>
Minimal stream for reading from an existing byte array by Span.
Definition at line 129 of file streams.h.
◆ SpanReader()
- Parameters
-
[in] | type | Serialization Type |
[in] | version | Serialization Version (including any flags) |
[in] | data | Referenced byte vector to overwrite/append |
Definition at line 141 of file streams.h.
◆ empty()
bool SpanReader::empty |
( |
| ) |
const |
|
inline |
◆ GetType()
int SpanReader::GetType |
( |
| ) |
const |
|
inline |
◆ GetVersion()
int SpanReader::GetVersion |
( |
| ) |
const |
|
inline |
◆ operator>>()
◆ read()
void SpanReader::read |
( |
Span< std::byte > |
dst | ) |
|
|
inline |
◆ size()
size_t SpanReader::size |
( |
| ) |
const |
|
inline |
◆ m_data
◆ m_type
const int SpanReader::m_type |
|
private |
◆ m_version
const int SpanReader::m_version |
|
private |
The documentation for this class was generated from the following file: