Fantom

 

const final enum

sys::Endian

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

@Serializable { simple=true collection=false }

Byte ordering.

Slots

bigSource

const static Endian big

Most significant byte first (network byte order)

fromStrSource

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

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

littleSource

const static Endian little

Least significant byte first

valsSource

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

List of Endian values indexed by ordinal