SpanWriter::write

Write a buffer of bytes into the span, throwing if it would overflow.

Synopsis

Declared in <streams.h>

void
write(std::span<std::byte const> src);

Parameters

NameDescription
srcBytes to write into the span.