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