Method

GLibVariantget_byte

since: 2.24

Declaration

guint8
g_variant_get_byte (
  GVariant* value
)

Description

Returns the byte value of value.

It is an error to call this function with a value of any type other than G_VARIANT_TYPE_BYTE.

Available since: 2.24

Return value

Type: guint8

A #guint8