Construct a stream initialized from a span of unsigned bytes.

Synopsis

Declared in <streams.h>

explicit
DataStream(std::span<uint8_t const> sp);

Parameters

Name

Description

sp

Bytes copied into the stream as its initial contents.

Created with MrDocs