XIMPRBuf8Helper Class Reference

class XIMPRBuf8Helper

RBuf8 handling helper.

ximpdatamodel.dll
Since
S60 v3.2
Public Member Functions
IMPORT_C void ExternalizeL (const RBuf8 &, RWriteStream &)
IMPORT_C void GrowIfNeededL ( RBuf8 &, const TInt )
IMPORT_C void InternalizeL ( RBuf8 &, RReadStream &)
IMPORT_C void SetNewValueL ( RBuf8 &, const TDesC8 &)

Member Functions Documentation

ExternalizeL(const RBuf8 &, RWriteStream &)

IMPORT_C void ExternalizeL ( const RBuf8 & aBuf,
RWriteStream & aStream
) [static]

Externalizes RBuf to stream.

Parameters

const RBuf8 & aBuf RBuf which to externalize.
RWriteStream & aStream The stream to write.

GrowIfNeededL(RBuf8 &, const TInt)

IMPORT_C void GrowIfNeededL ( RBuf8 & aBuf,
const TInt aMaxLength
) [static]

Grows RBuf hold given max length.

Parameters

RBuf8 & aBuf RBuf reference which to grow.
const TInt aMaxLength Needed max length.

InternalizeL(RBuf8 &, RReadStream &)

IMPORT_C void InternalizeL ( RBuf8 & aBuf,
RReadStream & aStream
) [static]

Internalizes referenced RBuf from stream. ReAllocates the RBuf if needed during the internalization.

Parameters

RBuf8 & aBuf RBuf reference where to internalize.
RReadStream & aStream The stream from to read.

SetNewValueL(RBuf8 &, const TDesC8 &)

IMPORT_C void SetNewValueL ( RBuf8 & aBuf,
const TDesC8 & aValue
) [static]

Sets new value for RBuf.

Parameters

RBuf8 & aBuf RBuf reference where to set. ReAllocated if needed during the set.
const TDesC8 & aValue Value to set.