Construct a reader over an existing span of bytes.

Synopsis

Declared in <streams.h>

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

Parameters

Name

Description

data

Bytes the reader will consume.

Created with MrDocs