public class RConUtils extends Object
Modifier and Type | Field and Description |
---|---|
static char[] |
hexDigits
Translation array of decimal to hex digits
|
Constructor and Description |
---|
RConUtils() |
Modifier and Type | Method and Description |
---|---|
static String |
getByteAsHexString(byte par0)
Returns a String representation of the byte in hexadecimal format
|
static int |
getBytesAsBEint(byte[] par0ArrayOfByte,
int par1,
int par2)
Read 4 bytes from the given array in big-endian format and return them as an int
|
static int |
getBytesAsLEInt(byte[] par0ArrayOfByte,
int par1,
int par2)
Read 4 bytes from the given array in little-endian format and return them as an int
|
static String |
getBytesAsString(byte[] par0ArrayOfByte,
int par1,
int par2)
Read a null-terminated string from the given byte array
|
static int |
getRemainingBytesAsLEInt(byte[] par0ArrayOfByte,
int par1)
Read 4 bytes from the
|
public static String getBytesAsString(byte[] par0ArrayOfByte, int par1, int par2)
public static int getRemainingBytesAsLEInt(byte[] par0ArrayOfByte, int par1)
public static int getBytesAsLEInt(byte[] par0ArrayOfByte, int par1, int par2)
public static int getBytesAsBEint(byte[] par0ArrayOfByte, int par1, int par2)
public static String getByteAsHexString(byte par0)