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.
Member Functions Documentation
DateL(const TDateTime)
Takes a TDateTime parameter and encodes it using the WSP specified Date encoding method.
LongIntL(const TUint32)
Takes a TUint32 parameter and encodes it using the WSP specified LongInt method.
Parameters
const TUint32 aValue | number to be encoded. |
ShortInt(const TUint8)
Takes a TUint8 parameter, and sets the top bit. As specified for the WSP ShortInt encoding method.
Parameters
const TUint8 aValue | number to be encoded. |
TextStringL(const RString)
Takes a RString parameter and encodes it using the WSP specified TextString method.
Parameters
const RString aText | string to be encoded. |
TextStringL(const TDesC8 &)
Takes a TDesC8 parameter and encodes it using the WSP specified TextString method.
Parameters
const TDesC8 & aText | string to be encoded. |
UintVarL(const TUint32)
Takes a TUint32 parameter and encodes it using the WSP specified UintVar method.
Parameters
const TUint32 aInt | number to be encoded. |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.