string16 – glib-2.0 Reference Manual
string16
Object Hierarchy:
string16
string16
string16
Description:
[
Compact
]
[
Immutable
]
[
GIR
( name =
"guint16"
) ]
[
CCode
( cname =
"gunichar2"
, const_cname =
"const gunichar2"
, free_function =
"g_free"
) ]
public
class
string16
Package:
glib-2.0
Content:
Methods:
public
string
?
to_string
()
public
string32
to_utf32
(
long
len =
-1
,
out
long
items_read =
null
,
out
long
items_written =
null
)
throws
ConvertError
Convert a string from UTF-16 to UCS-4.
public
string
to_utf8
(
long
len =
-1
,
out
long
items_read =
null
,
out
long
items_written =
null
)
throws
ConvertError
Convert a string from UTF-16 to UTF-8.
2022 vala-language.org