GLib.Variant.new_byte
Description: Reference for GLib.Variant.new_byte

### Function

# GLib Variantnew_byte

since: 2.24

#### Declaration [src]

    GVariant*
    g_variant_new_byte (
      guint8 value
    )

#### Description [src]

Creates a new byte `GVariant` instance.

Available since: 2.24

#### Parameters

`value`

  Type: `guint8`

  A #guint8 value.

#### Return value

Type: `GVariant`

A floating reference to a new byte `GVariant` instance.

The data is owned by the called function.