RMBufStreamQ Class Reference

class RMBufStreamQ : public RMBufQ

MBuf Stream Queue

Inherits from

Constructor & Destructor Documentation

RMBufStreamQ()

IMPORT_C RMBufStreamQ ( )

Constructor

Member Functions Documentation

Append(RMBufChain &)

IMPORT_C void Append ( RMBufChain & aPacket )

Appends a MBuf chain to this stream

Parameters

RMBufChain & aPacket the MBuf chain

AsRMBufChain()

RMBufChain & AsRMBufChain ( ) [protected, inline]

CopyOut(TDes8 &)

IMPORT_C void CopyOut ( TDes8 & aDes )

Copies a data from the chain to a TDes8 buffer

Parameters

TDes8 & aDes the buffer where the data is copied to

CopySegmentL(RMBufChain &, TInt, TInt)

IMPORT_C void CopySegmentL ( RMBufChain & aNewChain,
TInt aOffset,
TInt aLen
)

Copies a segment to a MBuf chain Functionaly the similar to RMBufChain::CopyL , except that cache pointer information is updated to optimise the common case of each extraction following on from the previous call.

Parameters

RMBufChain & aNewChain the chain to be created
TInt aOffset the offset
TInt aLen the length

TrimStart(TInt)

IMPORT_C void TrimStart ( TInt aOffset )

Trims the data upto offset

Parameters

TInt aOffset the offset

Member Data Documentation

TInt iLength

TInt iLength [protected]

RMBuf * iMBuf

RMBuf * iMBuf [protected]

TInt iOffset

TInt iOffset [protected]

TInt iPosition

TInt iPosition [protected]