| 程序包 | 说明 |
|---|---|
| org.indunet.fastproto |
| 限定符和类型 | 方法和说明 |
|---|---|
Decoder |
Decoder.align(int alignment)
Align the current position to the specified byte boundary.
|
static Decoder |
FastProto.decode(byte[] bytes)
Converts a Java object into binary data using the FastProto method chain.
|
Decoder |
Decoder.defaultBitOrder(BitOrder order)
Modify default bit order, FastProto uses lsb_0 by default if not specified.
|
Decoder |
Decoder.defaultByteOrder(ByteOrder order)
Modify default byte order, FastProto uses little endian by default if not specified.
|
Decoder |
Decoder.readBool(String name)
Decode bool value from binary data.
|
Decoder |
Decoder.readBool(String name,
BitOrder order)
Decode bool value from binary data.
|
Decoder |
Decoder.readBool(String name,
BitOrder order,
java.util.function.Function<Boolean,?> formula)
Decode bool value from binary data.
|
Decoder |
Decoder.readBool(String name,
java.util.function.Function<Boolean,?> formula)
Decode bool value from binary data.
|
Decoder |
Decoder.readBool(String name,
int byteOffset,
int bitOffset)
Decode bool value from binary data.
|
Decoder |
Decoder.readBool(String name,
int byteOffset,
int bitOffset,
BitOrder order)
Decode bool value from binary data.
|
Decoder |
Decoder.readBool(String name,
int byteOffset,
int bitOffset,
BitOrder order,
java.util.function.Function<Boolean,?> formula)
Decode bool value from binary data.
|
Decoder |
Decoder.readBool(String name,
int byteOffset,
int bitOffset,
java.util.function.Function<Boolean,?> formula)
Decode bool value from binary data.
|
Decoder |
Decoder.readByte(String name)
Decode byte value from binary data.
|
Decoder |
Decoder.readByte(String name,
java.util.function.Function<Byte,?> formula)
Decode byte value from binary data.
|
Decoder |
Decoder.readByte(String name,
int offset)
Decode byte value from binary data.
|
Decoder |
Decoder.readByte(String name,
int offset,
java.util.function.Function<Byte,?> formula)
Decode byte value from binary data.
|
Decoder |
Decoder.readBytes(String name,
int length)
Decode string value from binary data.
|
Decoder |
Decoder.readBytes(String name,
int length,
java.util.function.Function<byte[],?> formula)
Decode byte array value from binary data.
|
Decoder |
Decoder.readBytes(String name,
int offset,
int length)
Decode byte array value from binary data.
|
Decoder |
Decoder.readBytes(String name,
int offset,
int length,
java.util.function.Function<byte[],?> formula)
Decode byte array value from binary data.
|
Decoder |
Decoder.readDouble(String name)
Decode double value from binary data.
|
Decoder |
Decoder.readDouble(String name,
ByteOrder order)
Decode double value from binary data.
|
Decoder |
Decoder.readDouble(String name,
ByteOrder order,
java.util.function.Function<Double,?> formula)
Decode double value from binary data.
|
Decoder |
Decoder.readDouble(String name,
java.util.function.Function<Double,?> formula)
Decode double value from binary data.
|
Decoder |
Decoder.readDouble(String name,
int offset)
Decode double value from binary data.
|
Decoder |
Decoder.readDouble(String name,
int offset,
ByteOrder order)
Decode double value from binary data.
|
Decoder |
Decoder.readDouble(String name,
int offset,
ByteOrder order,
java.util.function.Function<Double,?> formula)
Decode double value from binary data.
|
Decoder |
Decoder.readDouble(String name,
int offset,
java.util.function.Function<Double,?> formula)
Decode double value from binary data.
|
Decoder |
Decoder.readFloat(String name)
Decode float value from binary data.
|
Decoder |
Decoder.readFloat(String name,
ByteOrder order)
Decode float value from binary data.
|
Decoder |
Decoder.readFloat(String name,
ByteOrder order,
java.util.function.Function<Float,?> formula)
Decode float value from binary data.
|
Decoder |
Decoder.readFloat(String name,
java.util.function.Function<Float,?> formula)
Decode float value from binary data.
|
Decoder |
Decoder.readFloat(String name,
int offset)
Decode float value from binary data.
|
Decoder |
Decoder.readFloat(String name,
int offset,
ByteOrder order)
Decode float value from binary data.
|
Decoder |
Decoder.readFloat(String name,
int offset,
ByteOrder order,
java.util.function.Function<Float,?> formula)
Decode float value from binary data.
|
Decoder |
Decoder.readFloat(String name,
int offset,
java.util.function.Function<Float,?> formula)
Decode float value from binary data.
|
Decoder |
Decoder.readInt16(String name)
Decode int16 value from binary data.
|
Decoder |
Decoder.readInt16(String name,
ByteOrder order)
Decode int16 value from binary data.
|
Decoder |
Decoder.readInt16(String name,
ByteOrder order,
java.util.function.Function<Integer,?> formula)
Decode int16 value from binary data.
|
Decoder |
Decoder.readInt16(String name,
java.util.function.Function<Integer,?> formula)
Decode int16 value from binary data.
|
Decoder |
Decoder.readInt16(String name,
int offset)
Decode int16 value from binary data.
|
Decoder |
Decoder.readInt16(String name,
int offset,
ByteOrder order)
Decode int16 value from binary data.
|
Decoder |
Decoder.readInt16(String name,
int offset,
ByteOrder order,
java.util.function.Function<Integer,?> formula)
Decode int16 value from binary data.
|
Decoder |
Decoder.readInt16(String name,
int offset,
java.util.function.Function<Integer,?> formula)
Decode int16 value from binary data.
|
Decoder |
Decoder.readInt32(String name)
Decode int32 value from binary data.
|
Decoder |
Decoder.readInt32(String name,
ByteOrder order)
Decode int32 value from binary data.
|
Decoder |
Decoder.readInt32(String name,
ByteOrder order,
java.util.function.Function<Integer,?> formula)
Decode int32 value from binary data.
|
Decoder |
Decoder.readInt32(String name,
java.util.function.Function<Integer,?> formula) |
Decoder |
Decoder.readInt32(String name,
int offset)
Decode int32 value from binary data.
|
Decoder |
Decoder.readInt32(String name,
int offset,
ByteOrder order)
Decode int32 value from binary data.
|
Decoder |
Decoder.readInt32(String name,
int offset,
ByteOrder order,
java.util.function.Function<Integer,?> formula)
Decode int32 value from binary data.
|
Decoder |
Decoder.readInt32(String name,
int offset,
java.util.function.Function<Integer,?> formula)
Decode int32 value from binary data.
|
Decoder |
Decoder.readInt64(String name)
Decode int64 value from binary data.
|
Decoder |
Decoder.readInt64(String name,
ByteOrder order)
Decode int64 value from binary data.
|
Decoder |
Decoder.readInt64(String name,
ByteOrder order,
java.util.function.Function<Long,?> formula)
Decode int64 value from binary data.
|
Decoder |
Decoder.readInt64(String name,
java.util.function.Function<Long,?> formula)
Decode int64 value from binary data.
|
Decoder |
Decoder.readInt64(String name,
int offset)
Decode int64 value from binary data.
|
Decoder |
Decoder.readInt64(String name,
int offset,
ByteOrder order)
Decode int64 value from binary data.
|
Decoder |
Decoder.readInt64(String name,
int offset,
ByteOrder order,
java.util.function.Function<Long,?> formula)
Decode int64 value from binary data.
|
Decoder |
Decoder.readInt64(String name,
int offset,
java.util.function.Function<Long,?> formula)
Decode int64 value from binary data.
|
Decoder |
Decoder.readInt8(String name)
Decode int8 value from binary data.
|
Decoder |
Decoder.readInt8(String name,
java.util.function.Function<Integer,?> formula)
Decode int8 value from binary data.
|
Decoder |
Decoder.readInt8(String name,
int offset)
Decode int8 value from binary data.
|
Decoder |
Decoder.readInt8(String name,
int offset,
java.util.function.Function<Integer,?> formula)
Decode int8 value from binary data.
|
Decoder |
Decoder.readShort(String name)
Decode short value from binary data.
|
Decoder |
Decoder.readShort(String name,
ByteOrder order)
Decode short value from binary data.
|
Decoder |
Decoder.readShort(String name,
ByteOrder order,
java.util.function.Function<Short,?> formula)
Decode short value from binary data.
|
Decoder |
Decoder.readShort(String name,
java.util.function.Function<Short,?> formula) |
Decoder |
Decoder.readShort(String name,
int offset)
Decode short value from binary data.
|
Decoder |
Decoder.readShort(String name,
int offset,
ByteOrder order)
Decode short value from binary data.
|
Decoder |
Decoder.readShort(String name,
int offset,
ByteOrder order,
java.util.function.Function<Short,?> formula)
Decode short value from binary data.
|
Decoder |
Decoder.readShort(String name,
int offset,
java.util.function.Function<Short,?> formula)
Decode short value from binary data.
|
Decoder |
Decoder.readUInt16(String name)
Decode uint16 value from binary data.
|
Decoder |
Decoder.readUInt16(String name,
ByteOrder order)
Decode uint16 value from binary data.
|
Decoder |
Decoder.readUInt16(String name,
ByteOrder order,
java.util.function.Function<Integer,?> formula)
Decode uint16 value from binary data.
|
Decoder |
Decoder.readUInt16(String name,
java.util.function.Function<Integer,?> formula)
Decode uint16 value from binary data.
|
Decoder |
Decoder.readUInt16(String name,
int offset)
Decode uint16 value from binary data.
|
Decoder |
Decoder.readUInt16(String name,
int offset,
ByteOrder order)
Decode uint16 value from binary data.
|
Decoder |
Decoder.readUInt16(String name,
int offset,
ByteOrder order,
java.util.function.Function<Integer,?> formula)
Decode uint16 value from binary data.
|
Decoder |
Decoder.readUInt16(String name,
int offset,
java.util.function.Function<Integer,?> formula)
Decode uint16 value from binary data.
|
Decoder |
Decoder.readUInt32(String name)
Decode uint32 value from binary data.
|
Decoder |
Decoder.readUInt32(String name,
ByteOrder order)
Decode uint32 value from binary data.
|
Decoder |
Decoder.readUInt32(String name,
ByteOrder order,
java.util.function.Function<Long,?> formula)
Decode uint32 value from binary data.
|
Decoder |
Decoder.readUInt32(String name,
java.util.function.Function<Long,?> formula)
Decode uint32 value from binary data.
|
Decoder |
Decoder.readUInt32(String name,
int offset)
Decode uint32 value from binary data.
|
Decoder |
Decoder.readUInt32(String name,
int offset,
ByteOrder order)
Decode uint32 value from binary data.
|
Decoder |
Decoder.readUInt32(String name,
int offset,
ByteOrder order,
java.util.function.Function<Long,?> formula)
Decode uint32 value from binary data.
|
Decoder |
Decoder.readUInt32(String name,
int offset,
java.util.function.Function<Long,?> formula)
Decode uint32 value from binary data.
|
Decoder |
Decoder.readUInt64(String name)
Decode uint64 value from binary data.
|
Decoder |
Decoder.readUInt64(String name,
ByteOrder order)
Decode uint64 value from binary data.
|
Decoder |
Decoder.readUInt64(String name,
ByteOrder order,
java.util.function.Function<BigInteger,?> formula)
Decode uint64 value from binary data.
|
Decoder |
Decoder.readUInt64(String name,
java.util.function.Function<BigInteger,?> formula)
Decode uint64 value from binary data.
|
Decoder |
Decoder.readUInt64(String name,
int offset)
Decode uint64 value from binary data.
|
Decoder |
Decoder.readUInt64(String name,
int offset,
ByteOrder order)
Decode uint64 value from binary data.
|
Decoder |
Decoder.readUInt64(String name,
int offset,
ByteOrder order,
java.util.function.Function<BigInteger,?> formula)
Decode uint64 value from binary data.
|
Decoder |
Decoder.readUInt64(String name,
int offset,
java.util.function.Function<BigInteger,?> formula)
Decode uint64 value from binary data.
|
Decoder |
Decoder.readUInt8(String name)
Decode uint8 value from binary data.
|
Decoder |
Decoder.readUInt8(String name,
java.util.function.Function<Integer,?> formula)
Decode uint8 value from binary data.
|
Decoder |
Decoder.readUInt8(String name,
int offset)
Decode uint8 value from binary data.
|
Decoder |
Decoder.readUInt8(String name,
int offset,
java.util.function.Function<Integer,?> formula)
Decode uint8 value from binary data.
|
Decoder |
Decoder.skip()
Ignore current position and move to next.
|
Decoder |
Decoder.skip(int num)
Ignore following num positions and move to next.
|
Copyright © 2019–2025 indunet. All rights reserved.