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