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