Skip to content

mdz_utf8_create

Maksym Dzyubenko edited this page Feb 7, 2024 · 1 revision

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

struct mdz_Utf8* mdz_utf8_create(size_t nEmbedSize);

Parameter Description
nEmbedSize size of "embedded part" of string. There is no "embedded part" if 0
Return Description
NULL if library is not initialized with mdz_string_init() call
NULL if memory allocation failed
Result pointer to string for use in other mdz_utf8 functions
mdz_utf8 API Reference is generated using mdzApiRefGenerator.

mdz_string functions

mdz_ansi functions

mdz_utf8 functions

mdz_wchar functions

mdz_utf16 functions

mdz_utf32 functions

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