CEZFileBufferManager Class Reference

class CEZFileBufferManager : public CBase

Concrete class to manage the input and output buffers for compression and de-compression

Inherits from

  • CEZFileBufferManager

Constructor & Destructor Documentation

CEZFileBufferManager(RFile &, RFile &)

CEZFileBufferManager(RFile &aInput,
RFile &aOutput
)[protected]

Parameters

RFile & aInput
RFile & aOutput

~CEZFileBufferManager()

~CEZFileBufferManager()

Member Functions Documentation

ConstructL(TInt)

voidConstructL(TIntaBufferSize)[protected]

Parameters

TInt aBufferSize

FinalizeL(CEZZStream &)

voidFinalizeL(CEZZStream &aZStream)

Parameters

CEZZStream & aZStream

InitializeL(CEZZStream &)

voidInitializeL(CEZZStream &aZStream)

Parameters

CEZZStream & aZStream

NeedInputL(CEZZStream &)

voidNeedInputL(CEZZStream &aZStream)

Parameters

CEZZStream & aZStream

NeedOutputL(CEZZStream &)

voidNeedOutputL(CEZZStream &aZStream)

Parameters

CEZZStream & aZStream

NewL(RFile &, RFile &, TInt)

IMPORT_C CEZFileBufferManager *NewL(RFile &aInput,
RFile &aOutput,
TIntaBufferSize = 0x8000
)[static]

Creates a new CEZFileBufferManager object

Parameters

RFile & aInputthe input file
RFile & aOutputthe output file
TInt aBufferSize = 0x8000the required size of the buffers

NewLC(RFile &, RFile &, TInt)

IMPORT_C CEZFileBufferManager *NewLC(RFile &aInput,
RFile &aOutput,
TIntaBufferSize = 0x8000
)[static]

Creates a new CEZFileBufferManager object and leave it on the CleanupStack

Parameters

RFile & aInputthe input file
RFile & aOutputthe output file
TInt aBufferSize = 0x8000the required size of the buffers

Member Enumerations Documentation

Enum anonymous

Enumerators

EBadInitialization = 1

Member Data Documentation

TInt iBufferSize

TInt iBufferSize[protected]

TUint8 * iInputBuffer

TUint8 *iInputBuffer[protected]

TPtr8 iInputDescriptor

TPtr8 iInputDescriptor[protected]

RFile & iInputFile

RFile &iInputFile[protected]

TUint8 * iOutputBuffer

TUint8 *iOutputBuffer[protected]

TPtr8 iOutputDescriptor

TPtr8 iOutputDescriptor[protected]

RFile & iOutputFile

RFile &iOutputFile[protected]