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