TypeScript API Documentation for GLIB
API Version: 2.0
Library Version: 2.89.4
Generated with TypeDoc via ts-for-gir v5.2.0
Convert a string from UCS-4 to UTF-16.
A nul character (U+0000) will be added to the result after the converted text.
a UCS-4 encoded string
a pointer to a newly allocated UTF-16 string. This value must be freed with GLib.free.
GLib.Error
Convert a string from UCS-4 to UTF-16.
A nul character (U+0000) will be added to the result after the converted text.