Class EditBookCodec
java.lang.Object
net.glowstone.net.codec.play.game.EditBookCodec
- All Implemented Interfaces:
com.flowpowered.network.Codec<EditBookMessage>
public final class EditBookCodec
extends Object
implements com.flowpowered.network.Codec<EditBookMessage>
-
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 buf) io.netty.buffer.ByteBuf
encode
(io.netty.buffer.ByteBuf buf, EditBookMessage message)
-
Constructor Details
-
EditBookCodec
public EditBookCodec()
-
-
Method Details
-
decode
- Specified by:
decode
in interfacecom.flowpowered.network.Codec<EditBookMessage>
- Throws:
IOException
-
encode
public io.netty.buffer.ByteBuf encode(io.netty.buffer.ByteBuf buf, EditBookMessage message) throws IOException - Specified by:
encode
in interfacecom.flowpowered.network.Codec<EditBookMessage>
- Throws:
IOException
-