MIUTHDR.CPP File Reference

const TInt KArrayGranularity

const TIntKArrayGranularity

LimitStringSize(const TPtrC8 &, TInt)

GLDEF_C TPtrC8LimitStringSize(const TPtrC8 &aString,
TIntaMaxSize
)

Parameters

const TPtrC8 & aString
TInt aMaxSize

LimitStringSize(const TPtrC16 &, TInt)

GLDEF_C TPtrC16LimitStringSize(const TPtrC16 &aString,
TIntaMaxSize
)

Parameters

const TPtrC16 & aString
TInt aMaxSize

ExternalizeL(const CDesC16Array &, RWriteStream &)

voidExternalizeL(const CDesC16Array &anArray,
RWriteStream &aStream
)

Ex/Internalize functions are not used at the moment, but have been left here since it is very likely they will be needed in future. They are commented out to keep arm5 happy.

---------------------------------------------------------------------------------------- LOCAL_C void ExternalizeL(const CArrayFix<TImHeaderEncodingInfo>& anArray, RWriteStream& aStream) ---------------------------------------------------------------------------------------- { TInt count; count=anArray.Count();

aStream << TCardinality(count); // compressed value for (TInt ii=count-1 ; ii>=0 ; --ii) { TImHeaderEncodingInfo info(anArray[ii]); info.ExternalizeL(aStream); } }

---------------------------------------------------------------------------------------- LOCAL_C void InternalizeL(CArrayFix<TImHeaderEncodingInfo>& anArray, RReadStream& aStream) ---------------------------------------------------------------------------------------- { TCardinality card; aStream >> card; TInt count=card; anArray.Reset(); for (TInt ii=0; ii<count ; ++ii) { TImHeaderEncodingInfo info; info.InternalizeL(aStream); anArray.InsertL(0,info); } }

Parameters

const CDesC16Array & anArray
RWriteStream & aStream

InternalizeL(CDesC16Array &, RReadStream &)

voidInternalizeL(CDesC16Array &anArray,
RReadStream &aStream
)

Parameters

CDesC16Array & anArray
RReadStream & aStream

ExternalizeL(const CDesC8Array &, RWriteStream &)

voidExternalizeL(const CDesC8Array &anArray,
RWriteStream &aStream
)

Parameters

const CDesC8Array & anArray
RWriteStream & aStream

InternalizeL(CDesC8Array &, RReadStream &)

voidInternalizeL(CDesC8Array &anArray,
RReadStream &aStream
)

Parameters

CDesC8Array & anArray
RReadStream & aStream

CopyArrayL(const CDesCArray &, CDesCArray &)

voidCopyArrayL(const CDesCArray &aSource,
CDesCArray &aDestination
)

Parameters

const CDesCArray & aSource
CDesCArray & aDestination