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>
IOException
public io.netty.buffer.ByteBuf encode(io.netty.buffer.ByteBuf buf, EnchantItemMessage message) throws IOException
encode
in interface com.flowpowered.network.Codec<EnchantItemMessage>
IOException
Copyright © 2021. All rights reserved.