ByteOrdering

Companion for ByteOrdering.

Companion:
class
trait Sum
trait Mirror
class Object
trait Matchable
class Any

Type members

Classlikes

case object BigEndian extends ByteOrdering

Byte ordering where the most significant byte is at the smallest address.

Byte ordering where the most significant byte is at the smallest address.

case object LittleEndian extends ByteOrdering

Byte ordering where the least significant byte is at the smallest address.

Byte ordering where the least significant byte is at the smallest address.

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Inherited from:
Mirror

The name of the type

The name of the type

Inherited from:
Mirror

Value members

Concrete methods

def fromJava(bo: ByteOrder): ByteOrdering

Converts the specified byte order to a ByteOrdering.

Converts the specified byte order to a ByteOrdering.

Throws:
IllegalArgumentException

if the order cannot be converted