RZipFileMemberReaderStream Class Reference

#include <zipfilememberinputstream.h>

Link against: ezip.lib

class RZipFileMemberReaderStream : public CBase

Inherits from

  • RZipFileMemberReaderStream

    Detailed Description

    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

    Constructor & Destructor Documentation

    ~RZipFileMemberReaderStream ( )

    IMPORT_C~RZipFileMemberReaderStream()

    Destructor. All dynamically allocated data structures for this stream are freed.

    Member Function Documentation

    Close ( )

    voidClose()

    Read ( TDes16 &, TInt )

    IMPORT_C TIntRead(TDes16 &aDes,
    TIntaLength
    )

    Reads data from the stream buffer into the specified descriptor. On return, contains the data read from the stream buffer

    ParameterDescription
    aDesThe target descriptor for the data read from the stream buffer
    aLengthThe maximum number of bytes to be read

    Returns: 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.

    Read ( TDes8 &, TInt )

    TInt Read(TDes8 &aDes,
    TIntaLength
    )[virtual]

    Overload version of the RZipFileMemberReaderStream read method. On return, contains the data read from the stream buffer.

    ParameterDescription
    aDesThe target descriptor for the data read from the stream buffer
    aLengthThe maximum number of bytes to be read

    Returns: 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.

    ReadL ( TDes16 &, TInt )

    voidReadL(TDes16 &aDes,
    TIntaLength
    )[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.
    ParameterDescription
    aDesThe target descriptor for the data read from the stream buffer
    aLengthThe maximum number of bytes to be read

    Release ( )

    voidRelease()