CEZGzipToFileBM Class Reference

#include <ezgzip.h>

Link against: ezlib.lib

class CEZGzipToFileBM : public CEZFileBufferManager

Inherits from

Detailed Description

The CEZGzipToFileBM class manages the input and output buffers for de-compression

Member Function Documentation

Crc ( )

TInt32 Crc()const [inline]

Return the CRC - used for checking validity of the archive

Return Value
the CRC value

FinalizeL ( CEZZStream & )

voidFinalizeL(CEZZStream &aZStream)[virtual]

Reimplemented from CEZFileBufferManager::FinalizeL(CEZZStream &)

Finish writing to the stream

Parameters
aZStreamthe stream to complete writing to

NeedOutputL ( CEZZStream & )

voidNeedOutputL(CEZZStream &aZStream)[virtual]

Reimplemented from CEZFileBufferManager::NeedOutputL(CEZZStream &)

Set the stream's output buffer and start writing

Parameters
aZStreamthe steam whose output buffer to set

NewL ( RFile &, RFile &, TInt )

CEZGzipToFileBM *NewL(RFile &aInput,
RFile &aOutput,
TIntaBufferSize
)[static]

Reimplemented from CEZFileBufferManager::NewL(RFile &,RFile &,TInt)

Creates a new CEZFileBufferManager object

Parameters
aInputthe input file
aOutputthe output file
aBufferSizethe required size of the buffers
Return Value
the new CEZFileBufferManager object

NewLC ( RFile &, RFile &, TInt )

CEZGzipToFileBM *NewLC(RFile &aInput,
RFile &aOutput,
TIntaBufferSize
)[static]

Reimplemented from CEZFileBufferManager::NewLC(RFile &,RFile &,TInt)

Creates a new CEZFileBufferManager object and leave it on the CleanupStack

Parameters
aInputthe input file
aOutputthe output file
aBufferSizethe required size of the buffers
Return Value
the new CEZFileBufferManager object, on the CleanupStack