|
Developer Documentation |
|
Centre for Vision, Speech & Signal Processing |
Comments:
'at' points to the next bit to read.
Parent Classes:
Variables:
- IStreamC strm;
-
Methods:
- IBitStreamC()
-
Default constructor.
- IBitStreamC(const StringC & filename)
-
Constructor.
- IBitStreamC(const IStreamC & strm)
-
Construct from a normal strm.
- BooleanT ReadBit()
-
Read 1 bit from stream.
- BooleanT PeekBit()
-
Look at the next bit to be read. but don't retrieve it.
- UCharT ReadUByte()
-
Read a unsigned byte from stream.
- UCharT ReadUByte(IntT nbits)
-
Read a bit vector.
- UIntT ReadUInt()
-
Read an 32-bit unsigned integer.
MSB First.
- UIntT ReadUInt(UIntT bits)
-
Read an unsigned integer.
MSB First.
- IntT ReadInt(UIntT bits)
-
Read a signed integer.
MSB First.
- void DiscardBit()
-
Discard 1 bit from stream.
- UCharT NextAlignedByte()
-
Read next byte-aligned byte.
This will discard bits between current position
and next alignment.
- BooleanT good() const
-
Is stream good ?
- BooleanT IsByteAligned() const
-
Is byte aligned ?
- UIntT Mask(UIntT nbits) const
-
Create a mask nbits long.
|
Programmer:Charles Galambos, Documentation by CxxDoc: Tue Mar 20 10:49:27 2001
|