# Enum: com.pnfsoftware.jeb.util.io.Endianness

An enumeration version of [ByteOrder](ByteOrder). 

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

## Constant: BIG_ENDIAN
Description: Big\-endian enumerated value.

## Constant: LITTLE_ENDIAN
Description: Little\-endian enumerated value.

## Constant: MIDDLE_ENDIAN
Description: Middle\-endian \(aka "PDP" endianness\)

## Method: isBig
- return type: `boolean`

Description: Determine whether this value is big\-endian.
return: true for [#BIG_ENDIAN](#BIG_ENDIAN)

## Method: isLittle
- return type: `boolean`

Description: Determine whether this value is little\-endian.
return: true for [#LITTLE_ENDIAN](#LITTLE_ENDIAN)

## Method: isMiddle
- return type: `boolean`

Description: Determine whether this value is middle\-endian.
return: true for [#MIDDLE_ENDIAN](#MIDDLE_ENDIAN)

## Method: toByteOrder
- return type: `java.nio.ByteOrder`

Description: Convert to Java's byte\-order object.
return: matching [ByteOrder](ByteOrder)

## Method: toString
- return type: `java.lang.String`


## Static Method: fromByteOrder
- parameter: `order`, type: `java.nio.ByteOrder`
- return type: `com.pnfsoftware.jeb.util.io.Endianness`

Description: Convert Java's byte\-order object to an enum value.
parameter: order: byte order
return: matching endianness, or null

## Static Method: nativeOrder
- return type: `com.pnfsoftware.jeb.util.io.Endianness`

Description: Get the native byte order as an enum value.
return: native byte order

## Static Method: valueOf
- parameter: `name`, type: `java.lang.String`
- return type: `com.pnfsoftware.jeb.util.io.Endianness`


## Static Method: values
- return type: `com.pnfsoftware.jeb.util.io.Endianness[]`


