[#SpanWriter-2constructor-09] = xref:SpanWriter.adoc[SpanWriter]::SpanWriter :relfileprefix: ../ :mrdocs: Construct a writer and immediately serialize the given items into the span. == Synopsis Declared in `<streams.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<typename... Args> SpanWriter( std::span<std::byte> dest, Args&&... args); ---- == Parameters [cols="1,4"] |=== | Name| Description | *dest* | Span of bytes the writer will fill. | *args* | Items to serialize into the span on construction. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#