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