enum
Gio::DataStreamByteOrder
Overview
#GDataStreamByteOrder is used to ensure proper endianness of streaming data sources across various machine architectures.
Defined in:
lib/gi-crystal/src/auto/gio-2.0/gio.crEnum Members
-
BigEndian =
0_u32
-
Selects Big Endian byte order.
-
LittleEndian =
1_u32
-
Selects Little Endian byte order.
-
HostEndian =
2_u32
-
Selects endianness based on host machine's architecture.
Class Method Summary
-
.g_type : UInt64
Returns the type id (GType) registered in GLib type system.
Instance Method Summary
-
#big_endian?
Returns
true
if this enum value equalsBigEndian
-
#host_endian?
Returns
true
if this enum value equalsHostEndian
-
#little_endian?
Returns
true
if this enum value equalsLittleEndian
Class methods inherited from struct Enum
g_type : UInt64
g_type
Class Method Detail
Returns the type id (GType) registered in GLib type system.