class TPunyCodeDndName : public TBuf8 |
Public Member Functions | |
---|---|
IMPORT_C TInt | IdnToPunycode(const THostName &) |
IMPORT_C TInt | PunycodeToIdn(TDes &, const TInt) |
Private Member Functions | |
---|---|
TInt | Decode(TInt, TDes &) |
TInt | Encode(const THostName &, TInt) |
Inherited Attributes | |
---|---|
TBuf8::iBuf | |
TDes8::__DECLARE_TEST | |
TDes8::iMaxLength |
TInt | Decode | ( | TInt | aIndex, |
TDes & | aBuf | |||
) | const [private] |
Function to decode each label KErrNone, if conversion is successful KErrDndBadName, if the punycode provided cannot be decoded or any other system wide errors
TInt | Encode | ( | const THostName & | aName, |
TInt | aIndex | |||
) | [private] |
Function to encode each label KErrNone, if conversion is successful KErrDndNameTooBig, if the IDN conversion exceeds the limit for a domain Name or any other system wide errors
IMPORT_C TInt | IdnToPunycode | ( | const THostName & | aName | ) |
Function to convert the IDN to Punycode KErrNone, if conversion is successful KErrDndNameTooBig, if the IDN conversion exceeds the limit for a domain Name or any other system wide errors
const THostName & aName |