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