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