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