28 : m_container(container)
35 m_container.insert(m_container.end(), s, s + n);
42 : m_buffer(std::make_shared<
Buffer>())
General-purpose automatically managed/resized buffer.
~OBufferStream() noexcept override
shared_ptr< Buffer > buf()
Return a shared pointer to the underlying buffer.
(implementation detail) A Boost.Iostreams.Sink that appends to a Buffer.
BufferSink(Buffer &container)
std::streamsize write(const char_type *s, std::streamsize n)