Htonl() equivalent in Qt ? [SOLVED]
-
can anyone tell me which -QT- Qt function is used to get the behaviour of htonl() function of windows?
-
"qToBigEndian":http://qt-project.org/doc/qt-4.8/qtendian.html#qToBigEndian-2
You may also be interested in "QDataStream":http://qt-project.org/doc/qt-4.8/qdatastream.html as it allows easy serialization of data, to format which is independent of system and processor.