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