RDictionaryCompressionBitStream Class Reference

class RDictionaryCompressionBitStream

This class implements a stream of bits (least significant bit first) as used by the code reading dictionary-compressed resource-files

Constructor & Destructor Documentation

RDictionaryCompressionBitStream()

RDictionaryCompressionBitStream ( )

Member Functions Documentation

Close()

void Close ( )

CurrentBitIsOn()

TBool CurrentBitIsOn ( ) const [private]

EndOfStreamL()

TBool EndOfStreamL ( ) const

IndexOfDictionaryEntryL()

TInt IndexOfDictionaryEntryL ( )

OpenL(TInt, TInt, TInt, TBool, TUint8 *, const TBaAssert &)

void OpenL ( TInt aNumberOfBitsUsedForDictionaryTokens,
TInt aOffsetToFirstBit,
TInt aOffsetOnePastLastBit,
TBool aTransferringOwnershipOfBuffer,
TUint8 * aBuffer,
const TBaAssert & aAssertObj
)

Parameters

TInt aNumberOfBitsUsedForDictionaryTokens
TInt aOffsetToFirstBit
TInt aOffsetOnePastLastBit
TBool aTransferringOwnershipOfBuffer
TUint8 * aBuffer
const TBaAssert & aAssertObj

ReadIntegerL(TInt)

TUint ReadIntegerL ( TInt aNumberOfBits ) [private]

Parameters

TInt aNumberOfBits

ReadL(TDes8 &, TBool)

void ReadL ( TDes8 & aBufferToAppendTo,
TBool aCalypsoFileFormat
)

Parameters

TDes8 & aBufferToAppendTo
TBool aCalypsoFileFormat

Member Data Documentation

TBaAssert iAssertObj

TBaAssert iAssertObj [private]

TUint8 * iBuffer

TUint8 * iBuffer [private]

TInt iNumberOfBitsUsedForDictionaryTokens

TInt iNumberOfBitsUsedForDictionaryTokens [private]

TInt iOffsetOnePastLastBit

TInt iOffsetOnePastLastBit [private]

TInt iOffsetToCurrentBit

TInt iOffsetToCurrentBit [private]

TInt iOffsetToFirstBit

TInt iOffsetToFirstBit [private]

TBool iOwnsBitBuffer

TBool iOwnsBitBuffer [private]