CEZFileBufferManager Class Reference

#include <ezfilebuffer.h>

Link against: ezlib.lib

class CEZFileBufferManager : public CBase

Inherits from

  • CEZFileBufferManager

    Detailed Description

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

    Member Attribute Documentation

    iBufferSize

    TInt iBufferSize[protected]

    iInputBuffer

    TUint8 *iInputBuffer[protected]

    iInputDescriptor

    TPtr8 iInputDescriptor[protected]

    iInputFile

    RFile &iInputFile[protected]

    iOutputBuffer

    TUint8 *iOutputBuffer[protected]

    iOutputDescriptor

    TPtr8 iOutputDescriptor[protected]

    iOutputFile

    RFile &iOutputFile[protected]

    Member Enumeration Documentation

    Enum anonymous

    EnumeratorValueDescription
    EBadInitialization1

    Constructor & Destructor Documentation

    CEZFileBufferManager ( RFile &, RFile & )

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

    ~CEZFileBufferManager ( )

    ~CEZFileBufferManager()

    Member Function Documentation

    ConstructL ( TInt )

    voidConstructL(TIntaBufferSize)[protected]

    FinalizeL ( CEZZStream & )

    voidFinalizeL(CEZZStream &aZStream)

    InitializeL ( CEZZStream & )

    voidInitializeL(CEZZStream &aZStream)

    NeedInputL ( CEZZStream & )

    voidNeedInputL(CEZZStream &aZStream)

    NeedOutputL ( CEZZStream & )

    voidNeedOutputL(CEZZStream &aZStream)

    NewL ( RFile &, RFile &, TInt )

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

    Creates a new CEZFileBufferManager object

    ParameterDescription
    aInputthe input file
    aOutputthe output file
    aBufferSizethe required size of the buffers

    Returns: the new CEZFileBufferManager object

    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

    ParameterDescription
    aInputthe input file
    aOutputthe output file
    aBufferSizethe required size of the buffers

    Returns: the new CEZFileBufferManager object, on the CleanupStack