public abstract class NibbleUtils
extends java.lang.Object
| Constructor and Description |
|---|
NibbleUtils() |
| Modifier and Type | Method and Description |
|---|---|
static int |
extractHighSignedNibble(int value)
Extracts the high signed 4-bit nibble from the least significant
byte of the given value
|
static int |
extractHighUnsignedNibble(int value)
Extracts the high unsigned 4-bit nibble from the least significant
byte of the given value
|
static int |
extractLowSignedNibble(int value)
Extracts the low signed 4-bit nibble from the least significant
byte of the given value
|
static int |
extractLowUnsignedNibble(int value)
Extracts the low unsigned 4-bit nibble from the least significant
byte of the given value
|
public static int extractHighSignedNibble(int value)
value - the value to extract the nibble frompublic static int extractLowSignedNibble(int value)
value - the value to extract the nibble frompublic static int extractHighUnsignedNibble(int value)
value - the value to extract the nibble frompublic static int extractLowUnsignedNibble(int value)
value - the value to extract the nibble from