Inherits basic_iostream< CharT, TraitsT >.
Public Member Functions
|BasicIOStream (BasicStreamBuffer< CharT > *sb=0)|
|BasicStreamBuffer< CharT > *||buffer ()|
|Returns the buffer. |
|std::streamsize||peeksome (CharT *buffer, std::streamsize n)|
|Peeks bytes in the stream buffer. More...|
|void||setBuffer (BasicStreamBuffer< CharT > *sb)|
|Sets the buffer. |
|std::streamsize||writesome (CharT *buffer, std::streamsize n)|
|Write as much data as fits in buffer. |
|std::streamsize peeksome||(||CharT *||buffer,|
The number of bytes that can be peeked depends on the current stream buffer get area and maybe less than requested, similar to istream::readsome().