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 100 of file streams.h.
◆ SpanReader()
SpanReader::SpanReader |
( |
Span< const unsigned char > |
data | ) |
|
|
inlineexplicit |
- Parameters
-
[in] | data | Referenced byte vector to overwrite/append |
Definition at line 109 of file streams.h.
◆ empty()
bool SpanReader::empty |
( |
| ) |
const |
|
inline |
◆ ignore()
void SpanReader::ignore |
( |
size_t |
n | ) |
|
|
inline |
◆ operator>>()
◆ read()
void SpanReader::read |
( |
Span< std::byte > |
dst | ) |
|
|
inline |
◆ size()
size_t SpanReader::size |
( |
| ) |
const |
|
inline |
◆ m_data
Span<const unsigned char> SpanReader::m_data |
|
private |
The documentation for this class was generated from the following file: