17#ifndef TOOLBOX_IO_STREAM_HPP
18#define TOOLBOX_IO_STREAM_HPP
42 void commit() noexcept { buf_.commit(pcount_); }
50 int_type overflow(int_type c)
noexcept override;
51 std::streamsize
xsputn(
const char_type* s, std::streamsize count)
noexcept override;
55 char* pbase_{
nullptr};
56 std::streamsize pcount_{0};
62 : std::ostream{
nullptr}
77 void commit() noexcept { buf_.commit(); }