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