@FunctionalInterface public interface PacketDecoder<P extends Packet>
PacketDecoder interface.
Modifier and Type | Method and Description |
---|---|
P |
decode(io.netty.buffer.ByteBuf data)
decode.
|
P decode(io.netty.buffer.ByteBuf data) throws PacketDecodeException
decode.
data
- a ByteBuf
objectPacketDecodeException
- if any.Copyright © 2016–2024. All rights reserved.