| class CEZZStream : public CBase |
Represents a zip stream
| Public Member Functions | |
|---|---|
| IMPORT_C TInt32 | Adler32 () |
| IMPORT_C TInt | AvailIn () |
| IMPORT_C TInt | AvailOut () |
| IMPORT_C TPtrC8 | OutputDescriptor () |
| IMPORT_C TInt | Progress ( TInt ) |
| IMPORT_C void | SetInput (const TDesC8 &) |
| IMPORT_C void | SetOutput ( TDes8 &) |
| IMPORT_C TInt | TotalIn () |
| IMPORT_C TInt | TotalOut () |
| Protected Member Functions | |
|---|---|
| CEZZStream () | |
| Public Member Enumerations | |
|---|---|
| enum | anonymous { EStreamError = -Z_STREAM_ERROR, EDataError = -Z_DATA_ERROR, EBufError = -Z_BUF_ERROR, EVersionError = -Z_VERSION_ERROR, EUnexpected } |
| Protected Attributes | |
|---|---|
| TInt | iOutputBufferLength |
| TUint8 * | iOutputPointer |
| z_stream | iStream |
| IMPORT_C TInt | AvailIn | ( | ) | const |
Return the number of bytes available at the next input byte
| IMPORT_C TInt | AvailOut | ( | ) | const |
Return the remaining free space at next output byte target
| IMPORT_C TPtrC8 | OutputDescriptor | ( | ) | const |
Return a decriptor pointer to the output buffer
| IMPORT_C TInt | Progress | ( | TInt | aTotalLength | ) | const |
Return the progress of the current operation - that is the percentage of bytes written / read
| TInt aTotalLength | the total number of bytes to read / write |
| IMPORT_C void | SetInput | ( | const TDesC8 & | aInputData | ) |
Set the stream's input buffer
| const TDesC8 & aInputData | the input buffer for this stream |
| IMPORT_C void | SetOutput | ( | TDes8 & | aOutputData | ) |
Set the stream's output buffer
| TDes8 & aOutputData | the output buffer for this stream |
stream panic values
| EStreamError = -Z_STREAM_ERROR | |
| EDataError = -Z_DATA_ERROR | |
| EBufError = -Z_BUF_ERROR | |
| EVersionError = -Z_VERSION_ERROR | |
| EUnexpected |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.