<?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[qToBigEndian() with float&#x2F;double]]></title><description><![CDATA[<p dir="auto">qToBigEndian(T src, uchar * dest) only supports T as an integer type (does anyone know why?).</p>
<p dir="auto">I'm trying to use the function but with a float and a double. What is the proper way to do this?</p>
<p dir="auto">My thought is to use a union to store it in its respective type and then pass that to qToBigEndian() but I was wondering if there's a better approach.</p>
<p dir="auto">Thanks</p>
]]></description><link>https://forum.qt.io/topic/95892/qtobigendian-with-float-double</link><generator>RSS for Node</generator><lastBuildDate>Wed, 15 Apr 2026 23:25:23 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/95892.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 24 Oct 2018 22:27:22 GMT</pubDate><ttl>60</ttl></channel></rss>