nn::enc Namespace

Description

The namespace of the character code encoding library.

Functions

ConvertStringUtf16NativeToUtf8 Converts the character code of the provided string from UTF-16LE to UTF-8 in little-endian environments and from UTF-16BE to UTF-8 in big-endian environments, and then gets the buffer size required to write the converted string. 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 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