public class ByteArrayHelper
extends java.lang.Object
Constructor and Description |
---|
ByteArrayHelper() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isEqual(byte[] first,
byte[] second) |
static byte[] |
toByteArray(int in) |
static byte[] |
toByteArray(int in,
int outSize) |
static int |
toInt(byte[] in) |
static long |
toLong(byte[] in) |
static short |
toShort(byte[] in) |
static java.lang.String |
toString(byte[] theByteArray) |
public static long toLong(byte[] in)
public static int toInt(byte[] in)
public static short toShort(byte[] in)
public static byte[] toByteArray(int in)
public static byte[] toByteArray(int in, int outSize)
public static java.lang.String toString(byte[] theByteArray)
public static boolean isEqual(byte[] first, byte[] second)