public class BytesReader
extends java.lang.Object
| 构造器和说明 |
|---|
BytesReader() |
| 限定符和类型 | 方法和说明 |
|---|---|
static int |
toInt(byte[] bytes)
得到对应的int类型数据。
|
static long |
toUnsignedInt(byte[] bytes)
获取一个unsigned 4-byte的整数,结果以long表示,取值范围为0~4294967295
如果参数为null或长度不为4则返回0.
|
Copyright © 2023. All rights reserved.