#include <s32mem.h>
class RBufReadStream : public RReadStream |
Public Member Functions | |
---|---|
RBufReadStream() | |
RBufReadStream(const CBufBase &, TInt) | |
IMPORT_C void | Open(const CBufBase &, TInt) |
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.
See also: TBufBuf RReadStream
RBufReadStream | ( | ) | [inline] |
Constructs an empty read stream object.
Call Open() to prepare the stream for reading.
Constructs the RBufReadStream object and opens the stream hosted by the specified dynamic buffer for reading using the Open() method.
See also: RBufReadStream::Open
Parameters | |
---|---|
aBuf | The dynamic buffer that will be the source of this stream. |
aPos | The offset within the dynamic buffer where the stream starts. |
Prepares the stream hosted by the specified dynamic buffer for reading.
To close the stream and free its resources call Close()
See also: TBufBuf::Set RReadStream::Attach
Parameters | |
---|---|
aBuf | The dynamic buffer that will be the source of this stream. |
aPos | The offset within the dynamic buffer where the stream starts. |