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