1Glib::Bytes(3)        User Contributed Perl Documentation       Glib::Bytes(3)
2
3
4

NAME

6       Glib::Bytes -  Wrappers for bytes objects in GLib
7

HIERARCHY

9         Glib::Boxed
10         +----Glib::Bytes
11

DESCRIPTION

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

METHODS

18   bytes = Glib::Bytes->new ($data)
19       ·   $data (scalar)
20
21       Since: glib 2.32
22
23   integer = $bytes1->compare ($bytes2)
24       ·   $bytes2 (Glib::Bytes)
25
26       Since: glib 2.32
27
28   scalar = $bytes->get_data
29       Since: glib 2.32
30
31   boolean = $bytes1->equal ($bytes2)
32       ·   $bytes2 (Glib::Bytes)
33
34       Since: glib 2.32
35
36   integer = $bytes->hash
37       Since: glib 2.32
38
39   unsigned = $bytes->get_size
40       Since: glib 2.32
41

SEE ALSO

43       Glib, Glib::Boxed
44
46       Copyright (C) 2003-2011 by the gtk2-perl team.
47
48       This software is licensed under the LGPL.  See Glib for a full notice.
49
50
51
52perl v5.28.0                      2018-10-04                    Glib::Bytes(3)
Impressum