public static enum NativeData.ByteOrder extends java.lang.Enum<NativeData.ByteOrder>
Enum Constant and Description |
---|
BIG_ENDIAN
byte[] is in big endian byte order |
LITTLE_ENDIAN
byte[] is in little endian byte order |
NATIVE
byte[] is in native byte order (that is: don't change byte order) |
Modifier and Type | Method and Description |
---|---|
static NativeData.ByteOrder |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NativeData.ByteOrder[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NativeData.ByteOrder NATIVE
byte[]
is in native byte order (that is: don't change byte order)public static final NativeData.ByteOrder LITTLE_ENDIAN
byte[]
is in little endian byte orderpublic static final NativeData.ByteOrder BIG_ENDIAN
byte[]
is in big endian byte orderpublic static NativeData.ByteOrder[] values()
for (NativeData.ByteOrder c : NativeData.ByteOrder.values()) System.out.println(c);
public static NativeData.ByteOrder valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null