TWspPrimitiveEncoder Class Reference
class TWspPrimitiveEncoder |
Detailed Description
Class encapsulating primitive encoding methods which are defined in the WSP standard. Input will be encoded and returned in an 8 bit buffer. Deprecated
Member Function Documentation
DateL ( const TDateTime )
Takes a TDateTime parameter and encodes it using the WSP specified Date encoding method.
Parameter | Description | aDate | value to be encoded. |
Returns: Output, encoded HBufC8 buffer.
LongIntL ( const TUint32 )
Takes a TUint32 parameter and encodes it using the WSP specified LongInt method.
Parameter | Description | aValue | number to be encoded. |
Returns: Output, encoded HBufC8 buffer.
ShortInt ( const TUint8 )
Takes a TUint8 parameter, and sets the top bit. As specified for the WSP ShortInt encoding method.
Parameter | Description | aValue | number to be encoded. |
Returns: Output, encoded as a TUint8, representation of the header buffer. If input greater that 127 (invalid input), returns 0
TextStringL ( const RString )
Takes a RString parameter and encodes it using the WSP specified TextString method.
Parameter | Description | aText | string to be encoded. |
Returns: Output, encoded HBufC8 buffer.
TextStringL ( const TDesC8 & )
Takes a TDesC8 parameter and encodes it using the WSP specified TextString method.
Parameter | Description | aText | string to be encoded. |
Returns: Output, encoded HBufC8 buffer.
UintVarL ( const TUint32 )
Takes a TUint32 parameter and encodes it using the WSP specified UintVar method.
Parameter | Description | aInt | number to be encoded. |
Returns: Output, encoded HBufC8 buffer.