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