ByteOrder
Class ByteOrder
- java.lang.Object
-
- java.nio.ByteOrder
public final class ByteOrder extends Object
A typesafe enumeration for byte orders.
- Since:
- 1.4
Fields
BIG_ENDIAN
public static final ByteOrder BIG_ENDIAN
Constant denoting big-endian byte order. In this order, the bytes of a multibyte value are ordered from most significant to least significant.
LITTLE_ENDIAN
public static final ByteOrder LITTLE_ENDIAN
Constant denoting little-endian byte order. In this order, the bytes of a multibyte value are ordered from least significant to most significant.