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