enum class sys::Endian

sys::Obj
  sys::Enum
    sys::Endian

@Serializable { simple=true }

Source

Byte ordering.

big

const static Endian big := ...

Source

Most significant byte first (network byte order)

fromStr

static new fromStr(Str name, Bool checked := true)

Source

Return the Endian instance for the specified name. If not a valid name and checked is false return null, otherwise throw ParseErr.

little

const static Endian little := ...

Source

Least significant byte first

vals

const static Endian[] vals := Endian[Endian.big,Endian.little]

Source

List of Endian values indexed by ordinal