JS.String – javascriptcoregtk-4.0 Reference Manual
String
Object Hierarchy:
JS.String
JS.String
JS.String
Description:
[
CCode
( cname =
"struct OpaqueJSString"
, free_function =
"JSStringRelease"
, has_type_id =
false
) ]
[
Compact
]
public
class
String
Namespace:
JS
Package:
javascriptcoregtk-4.0
Content:
Creation methods:
public
String.create_with_utf8_cstring
(
string
str)
Methods:
public
size_t
get_length
()
public
size_t
get_maximum_utf8_cstring_size
()
public
size_t
get_utf8_cstring
(
uint8
[] buffer)
public
bool
is_equal
(
String
b)
public
bool
is_equal_to_utf8_cstring
(
string
b)
public
void
release
()
public
String
retain
()
2022 vala-language.org