public class ByteArrayConverter extends Object
| Constructor and Description | 
|---|
ByteArrayConverter()  | 
| Modifier and Type | Method and Description | 
|---|---|
static int[] | 
byteToInt(byte[] arr)
Convert the given byte array to an array of ints. 
 | 
static int[][] | 
byteToInt(byte[][] arr)
Convert the given 2d byte array to a 2d array of ints. 
 | 
static byte[] | 
intToByte(int[] arr)
Convert the given int array to an array of bytes. 
 | 
static byte[][] | 
intToByte(int[][] arr)
Convert the given 2d int array to a 2d array of bytes. 
 | 
public ByteArrayConverter()
public static int[] byteToInt(byte[] arr)
arr - the byte arraypublic static int[][] byteToInt(byte[][] arr)
arr - the byte arraypublic static byte[] intToByte(int[] arr)
arr - the int arraypublic static byte[][] intToByte(int[][] arr)
arr - the int array