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