class RBufReadStream : public RReadStream |
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.
Public Member Functions | |
---|---|
RBufReadStream () | |
RBufReadStream (const CBufBase &, TInt ) | |
IMPORT_C void | Open (const CBufBase &, TInt ) |
Private Attributes | |
---|---|
TBufBuf | iSource |
RBufReadStream | ( | ) | [inline] |
Constructs an empty read stream object.
Call Open() to prepare the stream for reading.
IMPORT_C | RBufReadStream | ( | const CBufBase & | aBuf, |
TInt | aPos = 0 | |||
) |
Constructs the RBufReadStream object and opens the stream hosted by the specified dynamic buffer for reading using the Open() method.
IMPORT_C void | Open | ( | const CBufBase & | aBuf, |
TInt | aPos = 0 | |||
) |
Prepares the stream hosted by the specified dynamic buffer for reading.
To close the stream and free its resources call Close()
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.