AgsEndian
AgsEndian — dealing with endiannes
|
|
Stability Level
Stable, unless otherwise indicated
Object Hierarchy
GEnum
╰── AgsByteOrder
Includes
#include <ags/lib/ags_endian.h>
Description
Some common routines dealing with endiannes.
Functions
ags_endian_host_is_le ()
gboolean
ags_endian_host_is_le ();
Check host is Little Endian.
Returns
TRUE
if LE, otherwise FALSE
Since: 3.0.0
ags_endian_host_is_be ()
gboolean
ags_endian_host_is_be ();
Check host is Big Endian.
Returns
TRUE
if BE, otherwise FALSE
Since: 3.0.0
ags_endian_swap_float ()
gfloat
ags_endian_swap_float (gfloat x
);
Swaps the floating point numbers endianness.
Returns
the byte-swapped float
Since: 3.0.0
Types and Values
enum AgsByteOrder
Endianess.