[#SpanWriter-write] = xref:SpanWriter.adoc[SpanWriter]::write :relfileprefix: ../ :mrdocs: Write a buffer of bytes into the span, throwing if it would overflow. == Synopsis Declared in `<streams.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void write(std::span<std::byte const> src); ---- == Parameters [cols="1,4"] |=== | Name| Description | *src* | Bytes to write into the span. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#