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