Qbs, How to check byte order

81 Views Asked by At

How can byte order (big or little endianness) be checked from within Qbs? I do not know any other way to do it in Qbs or pure JavaScript. The idea is to avoid any other dependency from within Qbs, e.g. node.js' os.endianness().

1

There are 1 best solutions below

5
On BEST ANSWER

There is the cpp.endianness property.