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