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