public class TLV<T extends TLV.Type<V,P>,V,P> extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TLV.List<E extends TLV<T,V,?>,T extends TLV.Type<V,?>,V> |
static interface |
TLV.Type<V,P> |
public final int length
public final V value
public TLV(io.netty.buffer.ByteBuf buffer, java.util.function.IntFunction<T> typer, P parameter, Optional<PeerInfo> peerInfo) throws InvalidPacketException
InvalidPacketException
Copyright © 2020. All rights reserved.