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