Wednesday, April 25, 2012

Testing for Endian-ness (byte order)

Although very unlikely that you need to test endian-ness (or byte order) in Qt applications, you may take advantage of some macros available to help knowing how the system the application is running under will store data in memory.