MIUTHDR.CPP File Reference

const TInt KArrayGranularity

const TInt KArrayGranularity

LimitStringSize(const TPtrC8 &, TInt)

GLDEF_C TPtrC8 LimitStringSize ( const TPtrC8 & aString,
TInt aMaxSize
)

Parameters

const TPtrC8 & aString
TInt aMaxSize

LimitStringSize(const TPtrC16 &, TInt)

GLDEF_C TPtrC16 LimitStringSize ( const TPtrC16 & aString,
TInt aMaxSize
)

Parameters

const TPtrC16 & aString
TInt aMaxSize

ExternalizeL(const CDesC16Array &, RWriteStream &)

void ExternalizeL ( 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 &)

void InternalizeL ( CDesC16Array & anArray,
RReadStream & aStream
)

Parameters

CDesC16Array & anArray
RReadStream & aStream

ExternalizeL(const CDesC8Array &, RWriteStream &)

void ExternalizeL ( const CDesC8Array & anArray,
RWriteStream & aStream
)

Parameters

const CDesC8Array & anArray
RWriteStream & aStream

InternalizeL(CDesC8Array &, RReadStream &)

void InternalizeL ( CDesC8Array & anArray,
RReadStream & aStream
)

Parameters

CDesC8Array & anArray
RReadStream & aStream

CopyArrayL(const CDesCArray &, CDesCArray &)

void CopyArrayL ( const CDesCArray & aSource,
CDesCArray & aDestination
)

Parameters

const CDesCArray & aSource
CDesCArray & aDestination