public final enum

Endianness

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.pnfsoftware.jeb.util.io.Endianness

Class Overview

An enumeration, ser-compatible version of ByteOrder.

Note: ByteOrder was introduced before Java 5, and true enums did not exist at the time.

Summary

Enum Values
Endianness  BIG_ENDIAN  Big-endian enumerated value. 
Endianness  LITTLE_ENDIAN  Little-endian enumerated value. 
Endianness  MIDDLE_ENDIAN  Middle-endian (aka "PDP" endianness)  
Public Methods
static Endianness fromByteOrder(ByteOrder order)
boolean isBig()
boolean isLittle()
boolean isMiddle()
static Endianness nativeOrder()
ByteOrder toByteOrder()
String toString()
static Endianness valueOf(String name)
final static Endianness[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final Endianness BIG_ENDIAN

Big-endian enumerated value.

public static final Endianness LITTLE_ENDIAN

Little-endian enumerated value.

public static final Endianness MIDDLE_ENDIAN

Middle-endian (aka "PDP" endianness)

Public Methods

public static Endianness fromByteOrder (ByteOrder order)

public boolean isBig ()

public boolean isLittle ()

public boolean isMiddle ()

public static Endianness nativeOrder ()

public ByteOrder toByteOrder ()

public String toString ()

public static Endianness valueOf (String name)

public static final Endianness[] values ()