#include <asn1dec.h>
class TASN1DecTeletexString |
Public Member Functions | |
---|---|
TASN1DecTeletexString() | |
IMPORT_C HBufC * | DecodeDERL(const TDesC8 &, TInt &) |
IMPORT_C HBufC * | DecodeDERL(const TASN1DecGeneric &) |
Protected Member Functions | |
---|---|
IMPORT_C TInt | CheckValid(const TDesC8 &) |
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.
Decodes an ASN.1 format Teletex string.
Parameter | Description |
---|---|
aSource | ASN.1 Teletex string to be decoded. |
aPos | Offset in aSource from where decoding starts. |
Returns: On return, a pointer to a buffer containing the raw data converted to 16bits.
IMPORT_C HBufC * | DecodeDERL | ( | const TASN1DecGeneric & | Source | ) |
Decodes an ASN.1 format Teletex string.
Parameter | Description |
---|---|
Source | ASN.1 Teletex string to be decoded. |
Returns: On return, a pointer to a buffer containing the raw data converted to 16bits.