public class FixedValueDecoder<T> extends Object implements BinaryDecoder<T>
| 构造器和说明 |
|---|
FixedValueDecoder(T fixed) |
| 限定符和类型 | 方法和说明 |
|---|---|
T |
decode(byte[] payload,
int offset) |
static <T> FixedValueDecoder<T> |
of(T fixed) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittransferTopublic FixedValueDecoder(T fixed)
public static <T> FixedValueDecoder<T> of(T fixed)
public T decode(byte[] payload, int offset)
decode 在接口中 BinaryDecoder<T>Copyright © 2019–2023. All rights reserved.