SpanWriter

Minimal stream for writing to an existing span of bytes.

Synopsis

Declared in <streams.h>

class SpanWriter;

Member Functions

NameDescription
SpanWriter [constructor]Constructors
write Write a buffer of bytes into the span, throwing if it would overflow.
operator<< Serialize an object into the span and return this writer.