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