public enum ByteOrderCodec extends Enum<ByteOrderCodec>
| Enum Constant and Description |
|---|
NULL_VAL
To be used to represent not present or null.
|
SBE_BIG_ENDIAN
Big Endian byte encoding.
|
SBE_LITTLE_ENDIAN
Little Endian byte encoding.
|
| Modifier and Type | Method and Description |
|---|---|
static ByteOrderCodec |
get(short value)
Lookup the enum value representing the value.
|
short |
value()
The raw encoded value in the Java type representation.
|
static ByteOrderCodec |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ByteOrderCodec[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ByteOrderCodec SBE_LITTLE_ENDIAN
public static final ByteOrderCodec SBE_BIG_ENDIAN
public static final ByteOrderCodec NULL_VAL
public static ByteOrderCodec[] values()
for (ByteOrderCodec c : ByteOrderCodec.values()) System.out.println(c);
public static ByteOrderCodec valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic short value()
public static ByteOrderCodec get(short value)
value - encoded to be looked up.Copyright © 2013-2024 Real Logic Limited. All Rights Reserved.