TASN1DecTeletexString Class Reference
class TASN1DecTeletexString |
Detailed Description
Class used for decoding Teletex strings. The TeletexString type is not fully supported by this library. Instead the decode methods perform a direct conversion from 8 to 16bits by adding null characters in the second byte of each character. This will work as expected for cases where the string contains ASCII data. As this is non-destructive, the original data can be retrieved by performing a Copy to an 8-bit descriptor.
Constructor & Destructor Documentation
TASN1DecTeletexString ( )
IMPORT_C | TASN1DecTeletexString | ( | ) | |
Member Function Documentation
CheckValid ( const TDesC8 & )
IMPORT_C TInt | CheckValid | ( | const TDesC8 & | aSource | ) | [protected] |
DecodeDERL ( const TDesC8 &, TInt & )
Decodes an ASN.1 format Teletex string.
Parameters |
---|
aSource | ASN.1 Teletex string to be decoded. |
aPos | Offset in aSource from where decoding starts. |
- Return Value
- On return, a pointer to a buffer containing the raw data converted to 16bits.
DecodeDERL ( const TASN1DecGeneric & )
Decodes an ASN.1 format Teletex string.
Parameters |
---|
Source | ASN.1 Teletex string to be decoded. |
- Return Value
- On return, a pointer to a buffer containing the raw data converted to 16bits.