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