Source position: lazglib2.pas line 5065
function g_ucs4_to_utf16(
str: Pgunichar;
len: glong;
items_read: Pglong;
items_written: Pglong;
error: PPGError
):Pguint16;