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