Serialize

Serialize a fixed-extent span of basic bytes as raw bytes.

Synopsis

Declared in <serialize.h>

template<
    typename Stream,
    BasicByte B,
    size_t N>
void
Serialize(
    Stream& s,
    std::span<B, N> span);

Parameters

NameDescription
sThe output stream.
spanThe span of bytes to serialize.