Enum values for KCML_encode() and KCML_decode() errors

>Encode/decode return values

Encode/decode return values

The transcoding functions 'KCML_encode() and 'KCML_decode() return a value from this enumeration. Whatever the value the input and output byte counts will indicate how far the operation proceeded.

DEF ENUM enumeration name KCML_XLAT_ERR

Enumeration ValueValueDescription
_KCML_XLAT_SUCCESS0Success
_KCML_XLAT_BUFFER_FULL1Output buffer full
_KCML_XLAT_ENCODE_IN2Bad input encoding
_KCML_XLAT_ENCODE_OUT3Bad output encoding
_KCML_XLAT_CODEPAGE4Bad encoding value
_KCML_XLAT_BAD_TABLE5Failed to load codepage table

Back to the list of Enumerations and Constants