|
|
class ostringbitstream : public obitstream
This class writes bits of data into an internal string buffer.
This class inherits from the obitstream class.
Available since: 2014/02/01 version of C++ library
| Constructors | |
| Constructs a new bit stream. | |
| Methods | |
| Retrieves the underlying string of the bit stream. | |
ostringbitstream();
Usage:
ostringbitstream stream;
string str();
Usage:
string s = stream.str();