CEZZStream Class Reference

#include <ezstream.h>

class CEZZStream : public CBase

Inherits from

Detailed Description

Represents a zip stream

Member Attribute Documentation

iOutputBufferLength

TInt iOutputBufferLength[protected]

iOutputPointer

TUint8 *iOutputPointer[protected]

iStream

z_stream iStream[protected]

Member Enumeration Documentation

Enum anonymous

stream panic values

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

Constructor & Destructor Documentation

CEZZStream ( )

CEZZStream()[protected]

Member Function Documentation

Adler32 ( )

IMPORT_C TInt32Adler32()const

Return the value of the uncompressed data

Return Value
the value of the uncompressed data

AvailIn ( )

IMPORT_C TIntAvailIn()const

Return the number of bytes available at the next input byte

Return Value
the number of bytes available at the next input byte

AvailOut ( )

IMPORT_C TIntAvailOut()const

Return the remaining free space at next output byte target

Return Value
the remaining free space at next output byte target

OutputDescriptor ( )

IMPORT_C TPtrC8OutputDescriptor()const

Return a decriptor pointer to the output buffer

Return Value
a decriptor pointer to the output buffer

Progress ( TInt )

IMPORT_C TIntProgress(TIntaTotalLength)const

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

Parameters
aTotalLengththe total number of bytes to read / write
Return Value
the progress as a percentage - the number of bytes written / read out of the total target

SetInput ( const TDesC8 & )

IMPORT_C voidSetInput(const TDesC8 &aInputData)

Set the stream's input buffer

Parameters
aInputDatathe input buffer for this stream

SetOutput ( TDes8 & )

IMPORT_C voidSetOutput(TDes8 &aOutputData)

Set the stream's output buffer

Parameters
aOutputDatathe output buffer for this stream

TotalIn ( )

IMPORT_C TIntTotalIn()const

Return the total number of input bytes read so far

Return Value
the total number of input bytes read so far

TotalOut ( )

IMPORT_C TIntTotalOut()const

Return the total number of bytes output so far

Return Value
the total number of bytes output so far