The RWByteToStreambufOutputStreamImp Class
RWByteToStreambufOutputStreamImp implements a binary output stream that uses an iostreams narrow stream buffer object as its sink of bytes. The iostreams stream buffer object is accessed through its base class streambuf and must be opened in binary mode.