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.cr

Enum 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

Instance Method Summary

Class methods inherited from struct Enum

g_type : UInt64 g_type

Class Method Detail

def self.g_type : UInt64 #

Returns the type id (GType) registered in GLib type system.


[View source]

Instance Method Detail

def big_endian? #

[View source]
def host_endian? #

[View source]
def little_endian? #

[View source]