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()

voidClose()

CurrentBitIsOn()

TBool CurrentBitIsOn()const [private]

EndOfStreamL()

TBool EndOfStreamL()const

IndexOfDictionaryEntryL()

TInt IndexOfDictionaryEntryL()

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

voidOpenL(TIntaNumberOfBitsUsedForDictionaryTokens,
TIntaOffsetToFirstBit,
TIntaOffsetOnePastLastBit,
TBoolaTransferringOwnershipOfBuffer,
TUint8 *aBuffer,
const TBaAssert &aAssertObj
)

Parameters

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

ReadIntegerL(TInt)

TUint ReadIntegerL(TIntaNumberOfBits)[private]

Parameters

TInt aNumberOfBits

ReadL(TDes8 &, TBool)

voidReadL(TDes8 &aBufferToAppendTo,
TBoolaCalypsoFileFormat
)

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]