Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Location: s32mem.h
Link against: estor.lib

Class RBufReadStream

RBufReadStream

Support

Supported from 5.0

Description

Supports the opening of an existing stream hosted by a dynamic buffer.

The stream does not take ownership of the dynamic buffer, which means that the creator is responsible for deleting the buffer when it is no longer needed.

Derivation

RBufReadStreamSupports the opening of an existing stream hosted by a dynamic buffer
RReadStreamThe read stream interface

Defined in RBufReadStream:
Open(), RBufReadStream()

Inherited from RReadStream:
Attach(), Close(), Detach(), Pop(), PushL(), ReadInt16L(), ReadInt32L(), ReadInt8L(), ReadL(), ReadReal32L(), ReadReal64L(), ReadUint16L(), ReadUint32L(), ReadUint8L(), Release(), Source()

See also:


Construction


RBufReadStream()

RBufReadStream();

Description

Constructs an empty read stream object.

Call Open() to prepare the stream for reading.

See also:


RBufReadStream()

RBufReadStream(const CBufBase& aBuf,TInt aPos=0);

Description

Constructs the object and prepares the stream, hosted by the specified dynamic buffer, for reading.

Parameters

const CBufBase& aBuf

The dynamic buffer hosting the stream.

TInt aPos

The offset within the dynamic buffer where the stream starts. Defaults to 0, if not explicitly specified.

[Top]


Member functions


Open()

void Open(const CBufBase& aBuf,TInt aPos=0);

Description

Prepares the stream, hosted by the specified dynamic buffer, for reading.

Parameters

const CBufBase& aBuf

The dynamic buffer hosting the stream.

TInt aPos

The offset within the dynamic buffer where the stream starts. Defaults to 0, if not explicitly specified.