java.nio
Modifier and Type | Field and Description |
---|---|
static ByteOrder |
BIG_ENDIAN
Constant indicating big endian byte order.
|
static ByteOrder |
LITTLE_ENDIAN
Constant indicating little endian byte order.
|
Modifier and Type | Method and Description |
---|---|
static ByteOrder |
nativeOrder()
Returns the native byte order of the platform currently running.
|
String |
toString()
Returns a string representation of the byte order.
|
public static final ByteOrder BIG_ENDIAN
public static final ByteOrder LITTLE_ENDIAN
public static ByteOrder nativeOrder()
public String toString()
toString
in class Object
Object.getClass()
,
Object.hashCode()
,
Class.getName()
,
Integer.toHexString(int)