public class Utils
extends java.lang.Object
| Constructor and Description |
|---|
Utils() |
| Modifier and Type | Method and Description |
|---|---|
static int |
fromByteArray(byte[] bytes)
Converts the byte array passed as parameter to an integer
|
static byte[] |
to2ByteArray(int value)
Converts the int value passed as parameter to a 2 byte array
|
static byte[] |
to8ByteArray(int value)
Converts the int value passed as parameter to a 8 byte array
|
public static byte[] to2ByteArray(int value)
value - public static byte[] to8ByteArray(int value)
value - public static int fromByteArray(byte[] bytes)
bytes -