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