XIMPRBuf16Helper Class Reference

class XIMPRBuf16Helper

RBuf16 handling helper.

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

Member Functions Documentation

ExternalizeL(const RBuf16 &, RWriteStream &)

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

Externalizes RBuf to stream.

Parameters

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

GrowIfNeededL(RBuf16 &, const TInt)

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

Grows RBuf hold given max length.

Parameters

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

InternalizeL(RBuf16 &, RReadStream &)

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

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

Parameters

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

SetNewValueL(RBuf16 &, const TDesC16 &)

IMPORT_C void SetNewValueL ( RBuf16 & aBuf,
const TDesC16 & aValue
) [static]

Sets new value for RBuf.

Parameters

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