SpanReader::SpanReader

Constructors

Synopses

Declared in <streams.h>

Construct a reader over an existing span of bytes.

explicit
SpanReader(std::span<std::byte const> data);
» more...

Construct a reader over an existing array of unsigned char bytes.

explicit
SpanReader(std::span<unsigned char const> data);
» more...

Parameters

NameDescription
dataBytes the reader will consume.