CEZFileBufferManager Class Reference

class CEZFileBufferManager : public CBase

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

Inherits from

Constructor & Destructor Documentation

CEZFileBufferManager(RFile &, RFile &)

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

Parameters

RFile & aInput
RFile & aOutput

~CEZFileBufferManager()

~CEZFileBufferManager ( )

Member Functions Documentation

ConstructL(TInt)

void ConstructL ( TInt aBufferSize ) [protected]

Parameters

TInt aBufferSize

FinalizeL(CEZZStream &)

void FinalizeL ( CEZZStream & aZStream )

Parameters

CEZZStream & aZStream

InitializeL(CEZZStream &)

void InitializeL ( CEZZStream & aZStream )

Parameters

CEZZStream & aZStream

NeedInputL(CEZZStream &)

void NeedInputL ( CEZZStream & aZStream )

Parameters

CEZZStream & aZStream

NeedOutputL(CEZZStream &)

void NeedOutputL ( CEZZStream & aZStream )

Parameters

CEZZStream & aZStream

NewL(RFile &, RFile &, TInt)

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

Creates a new CEZFileBufferManager object

Parameters

RFile & aInput the input file
RFile & aOutput the output file
TInt aBufferSize = 0x8000 the required size of the buffers

NewLC(RFile &, RFile &, TInt)

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

Creates a new CEZFileBufferManager object and leave it on the CleanupStack

Parameters

RFile & aInput the input file
RFile & aOutput the output file
TInt aBufferSize = 0x8000 the 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]