<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[size() and constData() of QByteArray]]></title><description><![CDATA[<p dir="auto">The result of what I tried in VS is different from QT document, even though I just copied the codes from Qt Document.</p>
<p dir="auto"><strong>- What I tried and result</strong><br />
<img src="https://ddgobkiprc33d.cloudfront.net/67abb064-5e1d-46e0-9f27-13506650e385.png" alt="ae5658d2-e016-4c92-8b17-ce26eb26ea81-image.png" class=" img-fluid img-markdown" /><br />
<img src="https://ddgobkiprc33d.cloudfront.net/ddd0b40f-8abe-4480-8d09-5d0d2709ec63.png" alt="31834441-3fd0-4538-9d6a-8417f5d4fb14-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto"><strong>- Qt Document</strong><br />
<img src="https://ddgobkiprc33d.cloudfront.net/7d19d182-b1a3-4e26-b193-dcb8fe57794c.png" alt="cb69d66c-6063-47ab-9415-f51b74444407-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.qt.io/topic/146080/size-and-constdata-of-qbytearray</link><generator>RSS for Node</generator><lastBuildDate>Sun, 01 Nov 2026 23:48:11 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/146080.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 29 Jun 2023 01:39:41 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to size() and constData() of QByteArray on Thu, 29 Jun 2023 01:58:53 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bonnie">@<bdi>Bonnie</bdi></a> Understood! thank you for your help!</p>
]]></description><link>https://forum.qt.io/post/762954</link><guid isPermaLink="true">https://forum.qt.io/post/762954</guid><dc:creator><![CDATA[jgxy1123]]></dc:creator><pubDate>Thu, 29 Jun 2023 01:58:53 GMT</pubDate></item><item><title><![CDATA[Reply to size() and constData() of QByteArray on Thu, 29 Jun 2023 02:00:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jgxy1123">@<bdi>jgxy1123</bdi></a> No, it is not different. The document doesn't tell you to print the result by qDebug(). It stops printing when meets \0 while handling const char *.</p>
]]></description><link>https://forum.qt.io/post/762953</link><guid isPermaLink="true">https://forum.qt.io/post/762953</guid><dc:creator><![CDATA[Bonnie]]></dc:creator><pubDate>Thu, 29 Jun 2023 02:00:23 GMT</pubDate></item></channel></rss>