@override Uint8List encode() { final buffer = ByteDataWriter(endian: Endian.little); // command type buffer.writeUint8(3); buffer.write(utf8.encode(query)); return buffer.toBytes(); }