Construct a dynamic buffer from a string.
dynamic_string_buffer( std::basic_string< Elem, Traits, Allocator > & s, std::size_t maximum_size = (std::numeric_limits< std::size_t >::max)());
The string to be used as backing storage for the dynamic buffer.
Any existing data in the string is treated as the dynamic buffer's
input sequence. The object stores a reference to the string and
the user is responsible for ensuring that the string object remains
valid until the
object is destroyed.
Specifies a maximum size for the buffer, in bytes.