[#SpanWriter]
= SpanWriter
:mrdocs:

Minimal stream for writing to an existing span of bytes&period;

== Synopsis

Declared in `&lt;streams&period;h&gt;`

[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&period;
| xref:SpanWriter/operator_lshift.adoc[`operator&lt;&lt;`] 
| Serialize an object into the span and return this writer&period;
|===



[.small]#Created with https://www.mrdocs.com[MrDocs]#
