DataStream::DataStream

Constructors

Synopses

Declared in <streams.h>

Construct an empty stream.

constexpr
explicit
DataStream() = default;
» more...

Construct a stream initialized from a span of unsigned bytes.

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

Construct a stream initialized from a span of stored elements.

explicit
DataStream(std::span<value_type const> sp);
» more...

Parameters

NameDescription
spBytes copied into the stream as its initial contents.