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_CRFileReadStream(RFile &aFile,
TIntaPos = 0
)

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

Parameters

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

Member Functions Documentation

Attach(RFile &, TInt)

IMPORT_C voidAttach(RFile &aFile,
TIntaPos = 0
)

Parameters

RFile & aFile
TInt aPos = 0

Open(RFs &, const TDesC &, TUint)

IMPORT_C TIntOpen(RFs &aFs,
const TDesC &aName,
TUintaFileMode
)

Parameters

RFs & aFs
const TDesC & aName
TUint aFileMode

Member Data Documentation

RFileBuf iSource

RFileBuf iSource[private]