What I’d like to do is to write an integer value of 1234 to a QByteArray so that the four bytes of the byte array look like:
12 34 00 00
Any help is greatly appreciated,
Thanks,
Harald
↧