Package de.studiocode.invui.util
Class DataUtils
java.lang.Object
de.studiocode.invui.util.DataUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic byte[]static byte[][]static byte[]static int[]static byte[]toByteArray(int[] intArray) static byte[]toByteArray(List<Integer> intList) static int[]toIntArray(byte[] byteArray) static voidwrite2DByteArray(DataOutputStream dos, byte[][] array2d) static voidwriteByteArray(DataOutputStream dos, byte[] array) static voidwriteIntArray(DataOutputStream dos, int[] array)
-
Constructor Details
-
DataUtils
public DataUtils()
-
-
Method Details
-
toByteArray
-
toByteArray
public static byte[] toByteArray(int[] intArray) -
toIntArray
public static int[] toIntArray(byte[] byteArray) -
writeIntArray
- Throws:
IOException
-
readIntArray
- Throws:
IOException
-
writeByteArray
- Throws:
IOException
-
readByteArray
- Throws:
IOException
-
write2DByteArray
- Throws:
IOException
-
read2DByteArray
- Throws:
IOException
-
createSha1Hash
- Throws:
NoSuchAlgorithmExceptionIOException
-