Serialize a string view as a CompactSize length followed by its bytes.

Synopsis

Declared in <serialize.h>

template<
    typename Stream,
    typename C>
void
Serialize(
    Stream& os,
    std::basic_string_view<C> const& str);

Parameters

Name

Description

os

The output stream.

str

The string view to serialize.

Created with MrDocs