Package net.glowstone.net.codec.play.inv
Class SetWindowSlotCodec
java.lang.Object
net.glowstone.net.codec.play.inv.SetWindowSlotCodec
- All Implemented Interfaces:
com.flowpowered.network.Codec<SetWindowSlotMessage>
public final class SetWindowSlotCodec
extends Object
implements com.flowpowered.network.Codec<SetWindowSlotMessage>
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.flowpowered.network.Codec
com.flowpowered.network.Codec.CodecRegistration
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondecode
(io.netty.buffer.ByteBuf buffer) io.netty.buffer.ByteBuf
encode
(io.netty.buffer.ByteBuf buf, SetWindowSlotMessage message)
-
Constructor Details
-
SetWindowSlotCodec
public SetWindowSlotCodec()
-
-
Method Details
-
decode
- Specified by:
decode
in interfacecom.flowpowered.network.Codec<SetWindowSlotMessage>
- Throws:
IOException
-
encode
public io.netty.buffer.ByteBuf encode(io.netty.buffer.ByteBuf buf, SetWindowSlotMessage message) throws IOException - Specified by:
encode
in interfacecom.flowpowered.network.Codec<SetWindowSlotMessage>
- Throws:
IOException
-