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