Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <EZstream.h>
Link against: ezlib.lib

Class CEZZStream

class CEZZStream : public CBase;

Description

Represents a zip stream

Derivation

Members

Defined in CEZZStream:

Inherited from CBase:


Member functions


SetInput(const TDesC8 &)

IMPORT_C void SetInput(const TDesC8 &aInputData);

Description

Set the stream's input buffer

Parameters

const TDesC8 &aInputData

the input buffer for this stream


SetOutput(TDes8 &)

IMPORT_C void SetOutput(TDes8 &aOutputData);

Description

Set the stream's output buffer

Parameters

TDes8 &aOutputData

the output buffer for this stream


OutputDescriptor()const

IMPORT_C TPtrC8 OutputDescriptor() const;

Description

Return a decriptor pointer to the output buffer

Return value

TPtrC8

a decriptor pointer to the output buffer


TotalOut()const

IMPORT_C TInt TotalOut() const;

Description

Return the total number of bytes output so far

Return value

TInt

the total number of bytes output so far


TotalIn()const

IMPORT_C TInt TotalIn() const;

Description

Return the total number of input bytes read so far

Return value

TInt

the total number of input bytes read so far


Adler32()const

IMPORT_C TInt32 Adler32() const;

Description

Return the value of the uncompressed data

Return value

TInt32

the value of the uncompressed data


AvailIn()const

IMPORT_C TInt AvailIn() const;

Description

Return the number of bytes available at the next input byte

Return value

TInt

the number of bytes available at the next input byte


AvailOut()const

IMPORT_C TInt AvailOut() const;

Description

Return the remaining free space at next output byte target

Return value

TInt

the remaining free space at next output byte target


Progress(TInt)const

IMPORT_C TInt Progress(TInt aTotalLength) const;

Description

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

Return value

TInt

the progress as a percentage - the number of bytes written / read out of the total target

[Top]


Member enumerations


Enum anonymous

n/a

Description

stream panic values

EStreamError

EDataError

EBufError

EVersionError

EUnexpected

[Top]


Member data


iStream

protected: z_stream iStream;

Description


iOutputPointer

protected: TUint8 * iOutputPointer;

Description


iOutputBufferLength

protected: TInt iOutputBufferLength;

Description