public class ByteTools
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static short |
MASK_TO_BYTE |
static int |
NUMBER_OF_BITS_IN_A_BYTE |
static int |
SIZE_OF_AN_INT_IN_BYTES |
Constructor and Description |
---|
ByteTools() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
dumpBytes(byte[] bs) |
static byte[] |
intToByteArray(int value) |
static int |
readInt(byte[] p_src) |
static void |
writeInt(byte[] p_dest,
int p_toWrite) |
public static final int NUMBER_OF_BITS_IN_A_BYTE
public static final short MASK_TO_BYTE
public static final int SIZE_OF_AN_INT_IN_BYTES