public class Helper extends Object
| 构造器和说明 |
|---|
Helper() |
| 限定符和类型 | 方法和说明 |
|---|---|
static int |
byteToInt(byte[] array) |
static int |
byteToInt(byte[] byteArray,
boolean endianConvert) |
static int |
byteToInt(byte[] array,
int begin) |
static long |
byteToLong(byte[] byteArray,
boolean endianConvert) |
static byte[] |
concatByteArray(List<byte[]> inByteArrayList) |
static byte[] |
intToByte(int num) |
static byte[] |
roundToMultipleX(byte[] byteArray,
int multipler) |
static int |
roundToMultipleXLength(int inLength,
int multipler) |
static List<byte[]> |
splitByteArray(byte[] inByteArray,
int length) |
public static byte[] roundToMultipleX(byte[] byteArray,
int multipler)
public static int roundToMultipleXLength(int inLength,
int multipler)
public static byte[] concatByteArray(List<byte[]> inByteArrayList) throws BaseException
BaseExceptionpublic static List<byte[]> splitByteArray(byte[] inByteArray, int length)
public static int byteToInt(byte[] byteArray,
boolean endianConvert)
public static int byteToInt(byte[] array,
int begin)
public static int byteToInt(byte[] array)
public static byte[] intToByte(int num)
public static long byteToLong(byte[] byteArray,
boolean endianConvert)
Copyright © 2015. All Rights Reserved.