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