TypeScript API Documentation for GLIB
API Version: 2.0
Library Version: 2.88.0
Generated with TypeDoc via ts-for-gir v4.0.0-beta.41
Convert a string from UTF-8 to UTF-16.
A nul character (U+0000) will be added to the result after the converted text.
a UTF-8 encoded string
the maximum length (number of bytes) of str to use. If len is negative, then the string is nul-terminated.
str
len
a pointer to a newly allocated UTF-16 string. This value must be freed with GLib.free.
Convert a string from UTF-8 to UTF-16.
A nul character (U+0000) will be added to the result after the converted text.