ByteOrdering

scodec.bits.ByteOrdering$
See theByteOrdering companion trait

Companion for ByteOrdering.

Attributes

Companion:
trait
Source:
ByteOrdering.scala
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Concise view

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.

Attributes

Source:
ByteOrdering.scala
Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type
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.

Attributes

Source:
ByteOrdering.scala
Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source:
Mirror.scala

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source:
Mirror.scala

Value members

Concrete methods

Converts the specified byte order to a ByteOrdering.

Converts the specified byte order to a ByteOrdering.

Attributes

Throws:
IllegalArgumentException

if the order cannot be converted

Source:
ByteOrdering.scala