| 程序包 | 说明 |
|---|---|
| cn.gongler.util.bytes | |
| cn.gongler.util.protocol.itemtype |
| 限定符和类型 | 方法和说明 |
|---|---|
static BytesLoader |
BytesLoader.bigEndian(byte[] buf) |
BytesLoader |
BytesLoader.defaultByteOrder(ByteOrder defaultByteOrder) |
static BytesLoader |
BytesLoader.littleEndian(byte[] buf) |
BytesLoader |
BytesLoader.loadBytesReader(int bytes) |
static BytesLoader |
BytesLoader.of(byte[] buf)
大端字节顺序
|
static BytesLoader |
BytesLoader.of(Byte[] buf) |
static BytesLoader |
BytesLoader.of(byte[] buf,
int from,
int size) |
static BytesLoader |
BytesLoader.of(Byte[] buf,
int from,
int size) |
static BytesLoader |
BytesLoader.of(CharSequence hex) |
static BytesLoader |
BytesLoader.of(IBytesRange bytesRange) |
static BytesLoader |
BytesLoader.of(InputStream in) |
static BytesLoader |
BytesLoader.of(java.util.stream.IntStream stream) |
static BytesLoader |
BytesLoader.of(List<Byte> list) |
static BytesLoader |
BytesLoader.of(java.util.stream.Stream<Byte> stream) |
static BytesLoader |
BytesLoader.of(ToBytes toBytes) |
BytesLoader |
BytesLoader.skip(int len) |
| 限定符和类型 | 方法和说明 |
|---|---|
T |
BytesLoader.Loadable.load(BytesLoader bytesReader) |
| 限定符和类型 | 方法和说明 |
|---|---|
static <T> void |
BytesLoader.register(Class<T> aClass,
java.util.function.Function<BytesLoader,? super T> factory) |
| 限定符和类型 | 方法和说明 |
|---|---|
Item |
StringWithLengthItemType.load(BytesLoader in) |
Item |
StringItemType.load(BytesLoader in) |
Item |
ParamMapType.load(BytesLoader in) |
Item |
NumberItemType.load(BytesLoader in) |
Item |
ListItemType.load(BytesLoader in) |
Item |
ItemTypeStruct.load(BytesLoader in) |
abstract Item |
ItemType.load(BytesLoader in) |
Item |
FlagSignedNumberItemType.load(BytesLoader in) |
Item |
DatetimeBcdItemType.load(BytesLoader in) |
Item |
ComplementSignedNumberItemType.load(BytesLoader in) |
Item |
BytesItemType.load(BytesLoader in) |
Item |
BcdItemTypeAsString.load(BytesLoader in) |
Item |
BcdItemTypeAsLong.load(BytesLoader in) |
Copyright © 2022. All rights reserved.