class RZipFileMemberReaderStream : public CBase |
A RZipFileMemberReaderStream represents a input stream for compressed files in the archive. This is a friend class to CZipFile. In order to create a input stream for a file in the archive, CZipFile will call its member function GetInputStreamL() by passing a pointer to RZipFileMemberReaderStream and the function will return the input stream for the file Note: This class is actually a C class as it derives from CBase
Public Member Functions | |
---|---|
~RZipFileMemberReaderStream() | |
void | Close() |
IMPORT_C TInt | Read(TDes16 &, TInt) |
TInt | Read(TDes8 &, TInt) |
void | ReadL(TDes16 &, TInt) |
void | Release() |
Private Member Functions | |
---|---|
RZipFileMemberReaderStream(CZipFile &, TUint32, TUint32, TUint32, TUint32) | |
void | Attach(MStreamBuf *) |
void | ConstructL() |
void | Detach() |
TInt | GetBytes(TByte *, TUint32, TUint32 *) |
TInt | GetCompressedBytes(void) |
TInt | GetStoredBytes(TByte *, TUint32, TUint32 *) |
RZipFileMemberReaderStream * | NewL(CZipFile &, TUint32, TUint32, TUint32, TUint32) |
void | Pop() |
void | PushL() |
TInt | Read(void) |
TInt | Read(TByte *, TUint32, TUint32 *) |
TInt16 | ReadInt16L() |
TInt32 | ReadInt32L() |
TInt8 | ReadInt8L() |
void | ReadL(TDes8 &) |
void | ReadL(TDes16 &) |
void | ReadL(TDes8 &, TChar) |
void | ReadL(TDes16 &, TChar) |
void | ReadL(TUint8 *, TInt) |
void | ReadL(TUint16 *, TInt) |
void | ReadL(RWriteStream &) |
void | ReadL(RWriteStream &, TInt) |
void | ReadL(TInt) |
TReal32 | ReadReal32L() |
TReal64 | ReadReal64L() |
TUint16 | ReadUint16L() |
TUint32 | ReadUint32L() |
TUint8 | ReadUint8L() |
MStreamBuf * | Source() |
Private Member Enumerations | |
---|---|
enum | anonymous { kCompressedBytesSize = 1024 } |
RZipFileMemberReaderStream | ( | CZipFile & | , |
TUint32 | , | ||
TUint32 | , | ||
TUint32 | , | ||
TUint32 | |||
) | [private] |
TInt | GetStoredBytes | ( | TByte * | , |
TUint32 | , | |||
TUint32 * | ||||
) | [private] |
RZipFileMemberReaderStream * | NewL | ( | CZipFile & | , |
TUint32 | , | |||
TUint32 | , | |||
TUint32 | , | |||
TUint32 | ||||
) | [private, static] |
TInt | Read | ( | TDes8 & | aDes, |
TInt | aLength | |||
) | [virtual] |
Overload version of the RZipFileMemberReaderStream read method. On return, contains the data read from the stream buffer.
KErrNone If all bytes read successfully.
KErrCorrupt If reading fails.
KErrEof If end of file is reached.
... Any one of the system-wide error codes for other errors.
void | ReadL | ( | TDes16 & | aDes, |
TInt | aLength | |||
) | [virtual] |
Overload version of the RZipFileMemberReaderStream readL method. On return, contains the data read from the stream buffer.
leave
KErrNone If all bytes read successfully.
leave
KErrCorrupt If reading fails.
leave
KErrEof If end of file is reached.
leave
... Any one of the system-wide error codes for other errors.
TUint32 | iBytesLength | [private] |
The number of bytes already read in uncompressed bytes