uint32 – glib-2.0 Reference Manual
Packages
glib-2.0
uint32
FORMAT
FORMAT_MODIFIER
MAX
MIN
from_big_endian
from_little_endian
from_network
max
min
to_network
clamp
swap_big_endian_pdp
swap_little_endian_big_endian
swap_little_endian_pdp
to_big_endian
to_little_endian
to_string
uint32
Object Hierarchy:
Description:
[
SimpleType
]
public
struct
uint32
All known sub-structs:
Quark
Package:
glib-2.0
Content:
Constants:
public
const
uint32
MIN
public
const
uint32
MAX
The maximum value which can be held in a
uint32
.
public
const
unowned
string
FORMAT
This is the platform dependent conversion specifier for scanning and printing values of type
uint32
.
public
const
unowned
string
FORMAT_MODIFIER
The platform dependent length modifier for conversion specifiers for scanning and printing values of type
int32
or
uint32
.
Static methods:
public
static
uint32
min
(
uint32
a,
uint32
b)
public
static
uint32
max
(
uint32
a,
uint32
b)
public
static
uint32
from_big_endian
(
uint32
val)
public
static
uint32
from_little_endian
(
uint32
val)
public
static
uint32
to_network
(
uint32
val)
public
static
uint32
from_network
(
uint32
val)
Methods:
public
string
to_string
(
string
format =
"%u"
)
public
uint32
clamp
(
uint32
low,
uint32
high)
public
uint32
to_big_endian
()
public
uint32
to_little_endian
()
public
uint32
swap_big_endian_pdp
()
public
uint32
swap_little_endian_big_endian
()
public
uint32
swap_little_endian_pdp
()