class istringbitstream : public ibitstream
This class reads bits of data from string buffers.
This class inherits from the
Available since: 2014/02/01 version of C++ library
|Constructs a new bit stream that reads the bytes of the specified string as its input data.|
|Reads a single bit from the bit stream and returns 0 or 1 depending on the bit value.|
|Sets the underlying string of the bit stream.|
istringbitstream(string s = "");
int bit = stream.readBit();
void str(string s);
readBitwill read bits from the bytes of this string.