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