RMBufStreamQ Class Reference

class RMBufStreamQ : public RMBufQ

MBuf Stream Queue

Inherits from

Constructor & Destructor Documentation

RMBufStreamQ()

IMPORT_CRMBufStreamQ()

Constructor

Member Functions Documentation

Append(RMBufChain &)

IMPORT_C voidAppend(RMBufChain &aPacket)

Appends a MBuf chain to this stream

Parameters

RMBufChain & aPacketthe MBuf chain

AsRMBufChain()

RMBufChain &AsRMBufChain()[protected, inline]

CopyOut(TDes8 &)

IMPORT_C voidCopyOut(TDes8 &aDes)

Copies a data from the chain to a TDes8 buffer

Parameters

TDes8 & aDesthe buffer where the data is copied to

CopySegmentL(RMBufChain &, TInt, TInt)

IMPORT_C voidCopySegmentL(RMBufChain &aNewChain,
TIntaOffset,
TIntaLen
)

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 & aNewChainthe chain to be created
TInt aOffsetthe offset
TInt aLenthe length

TrimStart(TInt)

IMPORT_C voidTrimStart(TIntaOffset)

Trims the data upto offset

Parameters

TInt aOffsetthe offset

Member Data Documentation

TInt iLength

TInt iLength[protected]

RMBuf * iMBuf

RMBuf *iMBuf[protected]

TInt iOffset

TInt iOffset[protected]

TInt iPosition

TInt iPosition[protected]