title: qDebug isn't printing a full QByteArray containing binary data
body: <p>I have a <code>QByteArray</code> to store data received from a GPS, which is part binary and part ASCII. I want to know for debug proposals know what's being received, so I'm writing a <code>qDebug</code> like this:</p>
  
  <pre><code>//QByteArray buffer;
  //...
  qDebug() &lt;&lt; "GNSS msg (" &lt;&lt; buffer.size() &lt;&lt; "): " &lt;&lt; buffer;
  </code></pre>
  
  <p>And I get messages like this at console:</p>
  
  <pre class="lang-none prettyprint-override"><code>GNSS msg ( 1774 ): "ygnnsdgk...(many data)..PR085hlHJGOLH
  (more data into a new line, which is OK because it is a new GNSS sentence and
  probably has a \n at the end of each one) blablabla...
  </code></pre>
  
  <p>But suddenly I get a new print iteration. Data has not been erased yet, it has been appended. So new message size its for example 3204, bigger than the previous print obviously. But it prints exactly the same (but with the new size 3204 between brackets). No new data is printed, just the same as the previous message had:</p>
  
  <pre class="lang-none prettyprint-override"><code>GNSS msg ( 3204 ): "ygnnsdgk...(many data)..PR085hlHJGOLH
  (more data into a new line, which is OK because it is a new GNSS sentence and
  probably has a \n at the end of each one) blablabla...
  </code></pre>
  
  <p>I guess <code>qDebug</code> stops printing because it has a limit, or because it reaches a terminating character or something like that, but I'm only guessing.</p>
  
  <p>Any help or explanation for this behaviour?</p>