[Interest] Interest Digest, Vol 79, Issue 19

Thiago Macieira thiago.macieira at intel.com
Wed Apr 25 17:48:25 CEST 2018

On Wednesday, 25 April 2018 06:53:26 PDT Roland Hughes wrote:
> What I'm trying to tell you is there was and still is a legitimate
> reason to have a QDataStream which can write big-endian. Don't just rip
> it out. Make it some kind of settable boolean flag in the class. There
> is no way to know just how many of these things are still out there and
> are still being developed. Most were in the world of defense
> contractor/military

I never claimed it isn't. In fact, there is a flag to set the endianness.

When I said "most machines are little-endian", I was referring to machines Qt 
runs on and, therefore, would use QDataStream. The fact that the default is 
big endian is short-sighted. It should default to little-endian.

Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

More information about the Interest mailing list