#include <ezgzip.h>
Link against: ezlib.lib
class CEZFileToGzipBM : public CEZFileBufferManager |
Public Member Functions | |
---|---|
TInt32 | Crc() |
virtual void | InitializeL(CEZZStream &) |
virtual void | NeedInputL(CEZZStream &) |
CEZFileToGzipBM * | NewL(RFile &, RFile &, TInt) |
CEZFileToGzipBM * | NewLC(RFile &, RFile &, TInt) |
Inherited Enumerations | |
---|---|
CEZFileBufferManager:@44 |
The CEZFileToGzipBM manages the input and output buffers for compression
TInt32 | Crc | ( | ) | const [inline] |
Return the CRC - used for checking validity of the archive
void | InitializeL | ( | CEZZStream & | aZStream | ) | [virtual] |
Reimplemented from CEZFileBufferManager::InitializeL(CEZZStream &)
Initialise the stream with input and output buffers and starts reading
Parameters | |
---|---|
aZStream | the stream to initialise |
void | NeedInputL | ( | CEZZStream & | aZStream | ) | [virtual] |
Reimplemented from CEZFileBufferManager::NeedInputL(CEZZStream &)
Set the stream's input buffer and starts reading
Parameters | |
---|---|
aZStream | the steam whose input buffer to set |
CEZFileToGzipBM * | NewL | ( | RFile & | aInput, |
RFile & | aOutput, | |||
TInt | aBufferSize | |||
) | [static] |
Reimplemented from CEZFileBufferManager::NewL(RFile &,RFile &,TInt)
Creates a new CEZFileBufferManager object
Parameters | |
---|---|
aInput | the input file |
aOutput | the output file |
aBufferSize | the required size of the buffers |
CEZFileToGzipBM * | NewLC | ( | RFile & | aInput, |
RFile & | aOutput, | |||
TInt | aBufferSize | |||
) | [static] |
Reimplemented from CEZFileBufferManager::NewLC(RFile &,RFile &,TInt)
Creates a new CEZFileBufferManager object and leave it on the CleanupStack
Parameters | |
---|---|
aInput | the input file |
aOutput | the output file |
aBufferSize | the required size of the buffers |