CEZZStream Class Reference

class CEZZStream : public CBase

Represents a zip stream

Inherits from

Constructor & Destructor Documentation

CEZZStream()

CEZZStream ( ) [protected]

Member Functions Documentation

Adler32()

IMPORT_C TInt32 Adler32 ( ) const

Return the value of the uncompressed data

AvailIn()

IMPORT_C TInt AvailIn ( ) const

Return the number of bytes available at the next input byte

AvailOut()

IMPORT_C TInt AvailOut ( ) const

Return the remaining free space at next output byte target

OutputDescriptor()

IMPORT_C TPtrC8 OutputDescriptor ( ) const

Return a decriptor pointer to the output buffer

Progress(TInt)

IMPORT_C TInt Progress ( TInt aTotalLength ) const

Return the progress of the current operation - that is the percentage of bytes written / read

Parameters

TInt aTotalLength the total number of bytes to read / write

SetInput(const TDesC8 &)

IMPORT_C void SetInput ( const TDesC8 & aInputData )

Set the stream's input buffer

Parameters

const TDesC8 & aInputData the input buffer for this stream

SetOutput(TDes8 &)

IMPORT_C void SetOutput ( TDes8 & aOutputData )

Set the stream's output buffer

Parameters

TDes8 & aOutputData the output buffer for this stream

TotalIn()

IMPORT_C TInt TotalIn ( ) const

Return the total number of input bytes read so far

TotalOut()

IMPORT_C TInt TotalOut ( ) const

Return the total number of bytes output so far

Member Enumerations Documentation

Enum anonymous

stream panic values

Enumerators

EStreamError = -Z_STREAM_ERROR
EDataError = -Z_DATA_ERROR
EBufError = -Z_BUF_ERROR
EVersionError = -Z_VERSION_ERROR
EUnexpected

Member Data Documentation

TInt iOutputBufferLength

TInt iOutputBufferLength [protected]

TUint8 * iOutputPointer

TUint8 * iOutputPointer [protected]

z_stream iStream

z_stream iStream [protected]