I have the following code:

Qt Code:
  1. quint32 num = 17;
  2.  
  3. ba.append(num);
  4.  
  5. qDebug() << "BA Size: " << ba.size();
To copy to clipboard, switch view to plain text mode 

I expect the output to be 4, since the a quint32 is comprised of 4 bytes. However, the output is 1 byte.

So, my question is, how do I append a quint32 number?