public class ByteHelper
extends java.lang.Object
| Constructor and Description |
|---|
ByteHelper() |
| Modifier and Type | Method and Description |
|---|---|
static int |
byteArrayToLittleEndianInt(byte[] b) |
static long |
byteArrayToLittleEndianLong(byte[] b) |
static byte[] |
littleEndianIntToByteArray(int i,
int size) |
static byte[] |
littleEndianLongToByteArray(long i,
int size) |
public static int byteArrayToLittleEndianInt(byte[] b)
public static long byteArrayToLittleEndianLong(byte[] b)
public static byte[] littleEndianIntToByteArray(int i,
int size)
public static byte[] littleEndianLongToByteArray(long i,
int size)