writePacket abstract method
Uint8List
writePacket(
- ServerPacket packet, {
- PacketCompression compression = PacketCompression.none,
Write a single server packet. This includes writing the length and packet id.
Implementation
Uint8List writePacket(ServerPacket packet,
{PacketCompression compression = PacketCompression.none});