SpanReader::SpanReader

Construct a reader over an existing span of bytes.

Synopsis

Declared in <streams.h>

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

Parameters

NameDescription
dataBytes the reader will consume.