public final class StatusPingCodec extends Object implements com.flowpowered.network.Codec<StatusPingMessage>
| Constructor and Description |
|---|
StatusPingCodec() |
| Modifier and Type | Method and Description |
|---|---|
StatusPingMessage |
decode(io.netty.buffer.ByteBuf byteBuf) |
io.netty.buffer.ByteBuf |
encode(io.netty.buffer.ByteBuf byteBuf,
StatusPingMessage statusPingMessage) |
public StatusPingMessage decode(io.netty.buffer.ByteBuf byteBuf) throws IOException
decode in interface com.flowpowered.network.Codec<StatusPingMessage>IOExceptionpublic io.netty.buffer.ByteBuf encode(io.netty.buffer.ByteBuf byteBuf,
StatusPingMessage statusPingMessage)
throws IOException
encode in interface com.flowpowered.network.Codec<StatusPingMessage>IOExceptionCopyright © 2021. All rights reserved.