Skip to content

mdz_utf16_create

maxdz-gmbh edited this page Apr 29, 2021 · 5 revisions

Create empty UTF-16 string with Capacity == 1 (for 0-terminator), Size == 0 and Length == 0.

struct mdz_Utf16* mdz_utf16_create(size_t nEmbedSize, enum mdz_endianness enEndianness);

Parameter Description
nEmbedSize size of "embedded part" of string. There is no "embedded part" if 0
enEndianness endianness of string. Should be MDZ_ENDIAN_LITTLE or MDZ_ENDIAN_BIG
Return Description
NULL if library is not initialized with mdz_unicode_init() call
NULL if memory allocation failed
NULL if invalid enEndianness
Result pointer to string for use in other mdz_utf16 functions
mdz_utf16 API Reference is generated using mdzApiRefGenerator.

Init mdz_unicode library functions

mdz_utf8 functions

mdz_wchar functions

mdz_utf16 functions

mdz_utf32 functions

mdz_unicode API Reference is generated using mdzApiRefGenerator.
Clone this wiki locally