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