Constructors
Synopses
Declared in <streams.h>
Construct an empty stream.
constexpr
explicit
DataStream() = default;
Construct a stream initialized from a span of unsigned bytes.
explicit
DataStream(std::span<uint8_t const> sp);
Construct a stream initialized from a span of stored elements.
explicit
DataStream(std::span<value_type const> sp);
Parameters
Name |
Description |
sp |
Bytes copied into the stream as its initial contents. |
Created with MrDocs