uint16 – glib-2.0 Reference Manual
Packages
glib-2.0
uint16
FORMAT
FORMAT_MODIFIER
from_big_endian
from_little_endian
max
min
clamp
swap_big_endian_pdp
swap_little_endian_big_endian
swap_little_endian_pdp
to_big_endian
to_little_endian
to_string
MAX
MIN
uint16
Object Hierarchy:
Description:
[
SimpleType
]
public
struct
uint16
Package:
glib-2.0
Content:
Constants:
public
const
unowned
string
FORMAT
public
const
unowned
string
FORMAT_MODIFIER
Static methods:
public
static
uint16
min
(
uint16
a,
uint16
b)
public
static
uint16
max
(
uint16
a,
uint16
b)
public
static
uint16
from_big_endian
(
uint16
val)
public
static
uint16
from_little_endian
(
uint16
val)
Methods:
public
string
to_string
(
string
format =
"%hu"
)
public
uint16
clamp
(
uint16
low,
uint16
high)
public
uint16
to_big_endian
()
public
uint16
to_little_endian
()
public
uint16
swap_big_endian_pdp
()
public
uint16
swap_little_endian_big_endian
()
public
uint16
swap_little_endian_pdp
()
Fields:
public
static
uint16
MIN
public
static
uint16
MAX