Glib::Bytes(3pm)

Glib::Bytes3pm

Wrappers for bytes objects in glib

Hierarchy

  Glib::Boxed
  +----Glib::Bytes

Overview

In addition to the low-level API documented below, Glib also provides stringification overloading so that you can treat any "Glib::Bytes" object as a normal Perl string.

Methods

bytes = Glib::Bytes->new ($data)

•

$data (scalar)

Since: glib 2.32

integer = $bytes1->compare ($bytes2)

•

$bytes2 (Glib::Bytes)

Since: glib 2.32

scalar = $bytes->get_data

Since: glib 2.32

boolean = $bytes1->equal ($bytes2)

•

$bytes2 (Glib::Bytes)

Since: glib 2.32

integer = $bytes->hash

Since: glib 2.32

unsigned = $bytes->get_size

Since: glib 2.32

Releases

6 releases since Debian 9 (Stretch); the text changed 5 times.

  1. 9
  2. 10
  3. 11
  4. 12
  5. 13
  6. Arch

From glib-perl 1.329.4-4 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.