Class BufferStreamWriter

Inheritance Relationships

Base Types

  • private std::streambuf

  • public std::ostream

Class Documentation

class BufferStreamWriter : private std::streambuf, public std::ostream

Public Functions

explicit BufferStreamWriter(Buffer &buffer)
inline Buffer get_buffer() const
inline size_t size() const
inline bool full() const

Protected Functions

std::streambuf::int_type overflow(std::streambuf::int_type ch) override
std::streamsize xsputn(const char *s, std::streamsize n) override