Class Numbers.Strategy
java.lang.Object
net.emustudio.emulib.Numbers.Strategy
- Enclosing class:
Numbers
Strategy defining how bytes are combined into a number. Strategies can be combined with | (or) operator.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intBytes are read/written in the big endianstatic final intBytes are read/written in the little endian (the default, if BIG_ENDIAN is not set)static final intBits in particular bytes are reversed -
Method Summary
-
Field Details
-
LITTLE_ENDIAN
public static final int LITTLE_ENDIANBytes are read/written in the little endian (the default, if BIG_ENDIAN is not set)- See Also:
-
BIG_ENDIAN
public static final int BIG_ENDIANBytes are read/written in the big endian- See Also:
-
REVERSE_BITS
public static final int REVERSE_BITSBits in particular bytes are reversed- See Also:
-