[#SpanWriter] = SpanWriter :mrdocs: Minimal stream for writing to an existing span of bytes. == Synopsis Declared in `<streams.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class SpanWriter; ---- == Member Functions [cols="1,4"] |=== | Name| Description | xref:SpanWriter/2constructor-0e.adoc[`SpanWriter`] [.small]#[constructor]# | Constructors | xref:SpanWriter/write.adoc[`write`] | Write a buffer of bytes into the span, throwing if it would overflow. | xref:SpanWriter/operator_lshift.adoc[`operator<<`] | Serialize an object into the span and return this writer. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#