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