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