The RWStreambufToByteOutputStream Class
RWStreambufToByteOutputStream is an adapter class that adapts the iostreams streambuf interface to the Rogue Wave binary Output Stream interface. Requests made through the iostreams streambuf interface are forwarded to the embedded RWByteOutputStream handle. Calls to the streambuf input sequence functions always fail because the underlying binary output stream supports only output operations.