Unicode2CodePageConverter
is used to convert all characters in a specified buffer from UNICODE (CCSID: CCSID::EnCCSID_UCS2), to another buffer with specified CCSID.
Public Member Functions | |
Constructors | |
Unicode2CodePageConverter (const char *converterName) | |
~Unicode2CodePageConverter () | |
Miscellaneous | |
size_t | getMaximumSize (const UChar *cpclSource, size_t uiSourceLength) |
the maximum size in bytes required when converted from Unicode to using this code page converter | |
size_t | convertFromUnicode (char *pacTarget, size_t uiTargetMaxLength, const UChar *cpclSource, size_t uiSourceLength) |
Convert the specified source buffer cpacSource , with size uiSourceSize in bytes to target buffer pclTarget , with size uiTargetMaxSize in bytes from the UNICODE using this codepage converter. |
|
|
|
|
|
the maximum size in bytes required when converted from Unicode to using this code page converter
|
|
Convert the specified source buffer Return the number of bytes converted. |