a few more ports to qbytearray for Packet
fix ordering in method so it's not so backwards