Header Ads Widget

[MAN] Glib::Bytes

Content-type: text/html; charset=UTF-8 Man page of Glib::Bytes

Glib::Bytes

Section: User Contributed Perl Documentation (3pm)
Updated: 2017-07-26
Index Return to Main Contents
 

NAME

Glib::Bytes - Wrappers for bytes objects in GLib  

HIERARCHY

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

 

DESCRIPTION

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  

SEE ALSO

Glib, Glib::Boxed  

COPYRIGHT

Copyright (C) 2003-2011 by the gtk2-perl team.

This software is licensed under the LGPL. See Glib for a full notice.


 

Index

NAME
HIERARCHY
DESCRIPTION
METHODS
bytes = Glib::Bytes->new ($data)
integer = $bytes1->compare ($bytes2)
scalar = $bytes->get_data
boolean = $bytes1->equal ($bytes2)
integer = $bytes->hash
unsigned = $bytes->get_size
SEE ALSO
COPYRIGHT

This document was created by man2html, using the manual pages.
Time: 04:45:36 GMT, September 16, 2022

댓글 쓰기

0 댓글