|
User Documentation |
|
Centre for Vision, Speech & Signal Processing |
Comments:
'at' points to next bit to be written.
Numbering from LSB=0
Parent Classes:
Variables:
Methods:
- OBitStreamC()
-
Default constructor.
- OBitStreamC(const StringC & filename)
-
Constructor.
- OBitStreamC(const OStreamC & strm)
-
- ~OBitStreamC()
-
Close bit stream.
- void WriteBit(BooleanT val)
-
Write 1 bit to stream.
- void WriteUByte(UCharT byte)
-
Write a byte to stream.
- void WriteUByte(UCharT data,IntT nbits)
-
Write an array of n bits.
- void WriteUInt(UIntT data)
-
Write an unsigned integer.
MSB First.
- void WriteUInt(UIntT data,UIntT bits)
-
Write an unsigned integer.
MSB First.
- void Flush()
-
Flush output buffer. (Use only before closing.)
- 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:48:08 2001
|