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