public class TextSerializer_v291 extends Object implements BedrockPacketSerializer<TextPacket>
| Modifier and Type | Field and Description |
|---|---|
static TextSerializer_v291 |
INSTANCE |
| Constructor and Description |
|---|
TextSerializer_v291() |
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(ByteBuf buffer,
BedrockPacketHelper helper,
TextPacket packet) |
void |
serialize(ByteBuf buffer,
BedrockPacketHelper helper,
TextPacket packet) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdeserialize, serializepublic static final TextSerializer_v291 INSTANCE
public void serialize(ByteBuf buffer, BedrockPacketHelper helper, TextPacket packet)
serialize in interface BedrockPacketSerializer<TextPacket>serialize in interface com.nukkitx.protocol.serializer.PacketSerializer<TextPacket,BedrockPacketHelper>public void deserialize(ByteBuf buffer, BedrockPacketHelper helper, TextPacket packet)
deserialize in interface BedrockPacketSerializer<TextPacket>deserialize in interface com.nukkitx.protocol.serializer.PacketSerializer<TextPacket,BedrockPacketHelper>Copyright © 2018–2022 NukkitX. All rights reserved.