Write a buffer of bytes into the span, throwing if it would overflow.
Declared in <streams.h>
<streams.h>
void write(std::span<std::byte const> src);