RFileReadStream Class Reference

class RFileReadStream : public RReadStream

Supports the reading of a stream from a file.

Inherits from

Constructor & Destructor Documentation

RFileReadStream()

RFileReadStream ( ) [inline]

Constructs an empty read stream object.

RFileReadStream(RFile &, TInt)

IMPORT_C RFileReadStream ( RFile & aFile,
TInt aPos = 0
)

Constructs the read stream object, associates it with an already opened file, and prepares the stream for reading.

Parameters

RFile & aFile A reference to the opened file.
TInt aPos = 0 The offset into the file from where the stream is to be read. Defaults to zero.

Member Functions Documentation

Attach(RFile &, TInt)

IMPORT_C void Attach ( RFile & aFile,
TInt aPos = 0
)

Parameters

RFile & aFile
TInt aPos = 0

Open(RFs &, const TDesC &, TUint)

IMPORT_C TInt Open ( RFs & aFs,
const TDesC & aName,
TUint aFileMode
)

Parameters

RFs & aFs
const TDesC & aName
TUint aFileMode

Member Data Documentation

RFileBuf iSource

RFileBuf iSource [private]