Class NumberUtils.Strategy
- java.lang.Object
-
- net.emustudio.emulib.runtime.helpers.NumberUtils.Strategy
-
- Enclosing class:
- NumberUtils
public static final class NumberUtils.Strategy extends java.lang.Object
Strategy defining how to manipulate with bytes.Strategies can be combined with | (or) operator.
-
-
Field Summary
Fields Modifier and Type Field Description static int
BIG_ENDIAN
Bytes are read/written in the big endianstatic int
LITTLE_ENDIAN
Bytes are read/written in the little endianstatic int
REVERSE_BITS
Bits in particular bytes are reversed
-
Constructor Summary
Constructors Constructor Description Strategy()
-
-
-
Field Detail
-
LITTLE_ENDIAN
public static final int LITTLE_ENDIAN
Bytes are read/written in the little endian- See Also:
- Constant Field Values
-
BIG_ENDIAN
public static final int BIG_ENDIAN
Bytes are read/written in the big endian- See Also:
- Constant Field Values
-
REVERSE_BITS
public static final int REVERSE_BITS
Bits in particular bytes are reversed- See Also:
- Constant Field Values
-
-