ObexInternalUtils Class Reference

class ObexInternalUtils : public CBase

Utility class containing on static member functions to provide internalize/externalize functionality to HBufC and HBufC8 .

Inherits from

Member Functions Documentation

ExternalizeL(const HBufC *, RWriteStream &)

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

Externalizes a HBufC to a stream.

leave
KErrXXX Leaves with standard EPOC stream leave codes

Parameters

const HBufC * aBuf The HBufC to be externalized
RWriteStream & aStream The stream to be written to

ExternalizeL(const HBufC8 *, RWriteStream &)

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

Externalizes a HBufC8 to a stream.

leave
KErrXXX Leaves with standard EPOC stream leave codes

Parameters

const HBufC8 * aBuf The HBufC8 to be externalized
RWriteStream & aStream The stream to be written to

ExternalizeL(const TDes &, RWriteStream &)

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

Externalizes a TDes to a stream.

leave
KErrXXX Leaves with standard EPOC stream leave codes

Parameters

const TDes & aBuf The TDes to be externalized
RWriteStream & aStream The stream to be written to

ExternalizeL(const TDes8 &, RWriteStream &)

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

Externalizes a TDes8 to a stream.

leave
KErrXXX Leaves with standard EPOC stream leave codes

Parameters

const TDes8 & aBuf The TDes8 to be externalized
RWriteStream & aStream The stream to be written to

InternalizeL(HBufC *&, RReadStream &)

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

Internalizes a HBufC from a stream.

leave
KErrXXX Leaves with standard EPOC stream and memory allocation leave codes

Parameters

HBufC *& aBuf The HBufC to be internalized
RReadStream & aStream The stream to be read from

InternalizeL(HBufC8 *&, RReadStream &)

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

Internalizes a HBufC8 from a stream.

leave
KErrXXX Leaves with standard EPOC stream and memory allocation leave codes

Parameters

HBufC8 *& aBuf The HBufC8 to be internalized
RReadStream & aStream The stream to be read from

InternalizeL(TDes &, RReadStream &)

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

Internalizes a TDes from a stream.

leave
KErrXXX Leaves with standard EPOC stream and memory allocation leave codes
leave
KErrOverflow if the incoming data is too big for the TBuf provided

Parameters

TDes & aBuf The TDes to be internalized
RReadStream & aStream The stream to be read from

InternalizeL(TDes8 &, RReadStream &)

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

Internalizes a TDes8 from a stream.

leave
KErrXXX Leaves with standard EPOC stream and memory allocation leave codes
leave
KErrOverflow if the incoming data is too big for the TBuf provided

Parameters

TDes8 & aBuf The TDes8 to be internalized
RReadStream & aStream The stream to be read from

Panic(TObexInternalUtilsPanic)

IMPORT_C void Panic ( TObexInternalUtilsPanic aPanic ) [static]

Indicates Panic originates from Obex MTM

Parameters

TObexInternalUtilsPanic aPanic The type of TObexInternalUtilsPanic which has taken place

Member Enumerations Documentation

Enum TObexInternalUtilsPanic

Enumerators

EObexBadStreamVersion