Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: ezstream.h
Link against: ezlib.lib

Class CEZZStream

class CEZZStream : public CBase;

Description

Represents a zip stream

Derivation

Members

Defined in CEZZStream:
Adler32(), AvailIn(), AvailOut(), EBufError, EDataError, EStreamError, EUnexpected, EVersionError, OutputDescriptor(), Progress(), SetInput(), SetOutput(), TotalIn(), TotalOut(), anonymous, iOutputBufferLength, iOutputPointer, iStream

Inherited from CBase:
Delete(), Extension_(), operator new()


Member functions


SetInput()

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()

IMPORT_C void SetOutput(TDes8 &aOutputData);

Description

Set the stream's output buffer

Parameters

TDes8 &aOutputData

the output buffer for this stream


OutputDescriptor()

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()

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()

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()

IMPORT_C TInt32 Adler32() const;

Description

Return the value of the uncompressed data

Return value

TInt32

the value of the uncompressed data


AvailIn()

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()

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()

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