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