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