Vte.Uuid – vte-2.91-gtk4 Reference Manual
Packages
vte-2.91-gtk4
Vte
Uuid
validate_string
Uuid.from_string
Uuid.v4
dup
equal
free
free_to_string
new_v5
to_string
Uuid
Object Hierarchy:
Description:
[
CCode
( copy_function =
"g_boxed_copy"
, free_function =
"g_boxed_free"
, type_id =
"vte_uuid_get_type ()"
) ]
[
Compact
]
[
Version
( since =
"0.78"
) ]
public
class
Uuid
An object representing an UUID.
Namespace:
Vte
Package:
vte-2.91-gtk4
Content:
Static methods:
public
static
bool
validate_string
(
string
str,
ssize_t
len,
UuidFormat
fmt)
Creation methods:
public
Uuid.from_string
(
string
str,
ssize_t
len,
UuidFormat
fmt)
Creates a new UUID from its string representation
str
.
public
Uuid.v4
()
Creates a new random UUID.
Methods:
public
Uuid
dup
()
Creates a copy of
this
.
public
bool
equal
(
Uuid
other)
Compares
this
and
other
for equality.
public
void
free
()
Frees
this
.
public
string
free_to_string
(
UuidFormat
fmt,
size_t
len)
Frees
this
and returns its string representation, see
to_string
for more information.
public
Uuid
new_v5
(
string
data,
ssize_t
len)
Creates a new UUID for
this
and
str
.
public
string
to_string
(
UuidFormat
fmt,
out
size_t
len)
Returns the string representation of
this
.