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>
IOException
public io.netty.buffer.ByteBuf encode(io.netty.buffer.ByteBuf buf, PositionRotationMessage message) throws IOException
encode
in interface com.flowpowered.network.Codec<PositionRotationMessage>
IOException
Copyright © 2021. All rights reserved.