TWspPrimitiveEncoder Class Reference

class TWspPrimitiveEncoder

Class encapsulating primitive encoding methods which are defined in the WSP standard. Input will be encoded and returned in an 8 bit buffer.

Public Member Functions
IMPORT_C HBufC8 *DateL(const TDateTime)
IMPORT_C HBufC8 *LongIntL(const TUint32)
IMPORT_C TUint8ShortInt(const TUint8)
IMPORT_C HBufC8 *TextStringL(const RString)
IMPORT_C HBufC8 *TextStringL(const TDesC8 &)
IMPORT_C HBufC8 *UintVarL(const TUint32)

Member Functions Documentation

DateL(const TDateTime)

IMPORT_C HBufC8 *DateL(const TDateTimeaDate)[static]

Parameters

const TDateTime aDate

LongIntL(const TUint32)

IMPORT_C HBufC8 *LongIntL(const TUint32aValue)[static]

Parameters

const TUint32 aValue

ShortInt(const TUint8)

IMPORT_C TUint8ShortInt(const TUint8aValue)[static]

Parameters

const TUint8 aValue

TextStringL(const RString)

IMPORT_C HBufC8 *TextStringL(const RStringaText)[static]

Parameters

const RString aText

TextStringL(const TDesC8 &)

IMPORT_C HBufC8 *TextStringL(const TDesC8 &aText)[static]

Parameters

const TDesC8 & aText

UintVarL(const TUint32)

IMPORT_C HBufC8 *UintVarL(const TUint32aInt)[static]

Parameters

const TUint32 aInt