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