Non-instantiatable base class for types BitWriter and BitReader.
Definition at line 613 of file bitbuffer.hpp.
#include <bitbuffer.hpp>
Public Method Index: | |
BitBufferBase & | GetBuffer () const |
BitBufferBase::Index | GetIndex () const |
uinteger | RemainingSize () const |
uinteger | Usage () const |
Protected Field Index: | |
BitBufferBase & | bb |
The bit buffer to write into. Provided on construction. | |
BitBufferBase::Index | idx |
The current reading/writing index within bb. | |
Protected Method Index: | |
BitRWBase (BitBufferBase &buffer) | |
|
protected |
The bit buffer to write into. Provided on construction.
Definition at line 616 of file bitbuffer.hpp.
|
protected |
The current reading/writing index within bb.
Definition at line 617 of file bitbuffer.hpp.
|
inlineexplicitprotected |
Protected constructor, used by derived classes only.
buffer | The bit buffer to work on. |
Definition at line 621 of file bitbuffer.hpp.
|
inline |
Retrieves the internal bit buffer.
Definition at line 628 of file bitbuffer.hpp.
|
inline |
Returns a copy of the current index in the bit buffer in respect to writing or reading progress of derived classes BitWriter BitReader. Such index elements may be passed to methods BitWriter::Reset(const BitBufferBase::Index&) and BitReader::Reset(const BitBufferBase::Index&)
Definition at line 641 of file bitbuffer.hpp.
|
inline |
Invokes BitBufferBase::RemainingSize on the internal bit buffer, passing the result of GetIndex.
Definition at line 656 of file bitbuffer.hpp.
|
inline |
Invokes BitBufferBase::Index::CountBits on the index returned by GetIndex.
Definition at line 648 of file bitbuffer.hpp.