type

Endian

src @Serializable { simple=true }
enum class Endian : Enum

Byte ordering.

enum

big

Most significant byte first (network byte order)

little

Least significant byte first

constructors

fromStr

Return the Endian instance for the specified name.

fields

vals

List of Endian values indexed by ordinal

Slot Details

big

src const static Endian big := ...

Most significant byte first (network byte order)

fromStr

src static new 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.

little

src const static Endian little := ...

Least significant byte first

vals

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

List of Endian values indexed by ordinal