class ibitstream : public std::istream
This base class reads bits of data from various input sources.
This is an abstract base class that inherits from the standard C++
You are not likely to want to construct an
Instead, you should probably construct an
ifbitstream to read from a file, or an
istringbitstream to read from the bytes of a string buffer.
Available since: 2014/02/01 version of C++ library
|Reads a single bit from the bit stream and returns 0 or 1 depending on the bit value.|
int bit = stream.readBit();