Minimal stream for reading from an existing byte array by std::span.
Declared in <streams.h>
class SpanReader;
| Name | Description |
|---|---|
SpanReader [constructor] | Constructors |
empty | Return true if no bytes remain to be read. |
ignore | Skip the next n bytes without reading them. |
operator>> | Deserialize an object from the buffer and return this reader. |
read | Read bytes into the destination span, advancing past them. |
size | Return the number of bytes remaining to be read. |