MIRA
|
A stream class for input and output of data to/from a wrapped Buffer. More...
#include <stream/BufferStream.h>
Public Types | |
typedef Buffer< char > | container_type |
typedef container_type::value_type | char_type |
Public Member Functions | |
BufferStream (Buffer< char > &buffer) | |
A stream class for input and output of data to/from a wrapped Buffer.
The usage of this BufferStream is similar to std::stringstream, however, the BufferStream is significantly faster than std::stringstream.
The BufferStream can be used as any other STL stream via its implemented << and >> operators.
Example:
typedef Buffer<char> container_type |
typedef container_type::value_type char_type |
|
inline |