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