nn::enc

nn::enc Namespace

Description

The namespace for APIs used in character code conversion.

Functions

ConvertStringUtf16NativeToUtf8 Converts the character code of the character string provided from UTF-16LE to UTF-8 for little Endian environments or from UTF-16BE to UTF-8 for big endian environments, and then gets the buffer size required to write the string after conversion. A termination character does not get attached. If a destination buffer is not specified, the buffer size necessary for the write operation will be obtained.
ConvertStringUtf8ToUtf16Native Converts the character code of the character string provided from UTF-8 to UTF-16LE for little Endian environments or from UTF-8 to UTF-16BE for big endian environments, and then gets the buffer size required to write the string after conversion. A termination character does not get attached. If a destination buffer is not specified, the buffer size necessary for the write operation will be obtained.

Revision History

2011/10/27
Initial version.

CONFIDENTIAL