RDesReadStream Class Reference

#include <s32mem.h>

class RDesReadStream : public RReadStream

Inherits from

Detailed Description

Supports the reading of a stream from an 8-bit descriptor.

See also: TMemBuf RReadStream

Constructor & Destructor Documentation

RDesReadStream ( )

RDesReadStream()[inline]

Constructs an empty read stream object.

Call Open() to prepare the stream for reading.

RDesReadStream ( const TDesC8 & )

IMPORT_CRDesReadStream(const TDesC8 &aDes)

Constructs the RDesReadStream object and prepares the stream hosted by the specified descriptor for reading.

See also: RDesReadStream::Open

ParameterDescription
aDesThe descriptor that will be the source of this stream.

Member Function Documentation

Open ( const TDesC8 & )

IMPORT_C voidOpen(const TDesC8 &aDes)

Open a stream that reads from a descriptor.

To close the stream and free its resources call Close()

See also: TDesBuf::Set RReadStream::Attach

ParameterDescription
aDesThe descriptor that will be the source of this stream.