title: Qt QByteArray issue
body: <p>I've tried the following:</p>
  
  <pre><code>qDebug() &lt;&lt; QByteArray("\x00\x10\x00\x00").size();
  </code></pre>
  
  <p>and i get 0 instead of 4 witch i would espect.</p>
  
  <p>What would be a good data type to hold this 4 bytes of data as i need to later write them to a socket so they must remain exactly like you see them above?</p>