Constructors

Synopses

Declared in <streams.h>

Construct a reader over an existing span of bytes.

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

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

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

Parameters

Name

Description

data

Bytes the reader will consume.

Created with MrDocs