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