Qt-interest Archive, June 2007
Byte Order
Message 1 in thread
Hey,
is there something within Qt4 to manipulate the byte order of
numeric variables?
Jens
--
[ signature omitted ]
Message 2 in thread
On Sunday 10 June 2007 14:15:44 Jens Luedicke wrote:
> Hey,
>
> is there something within Qt4 to manipulate the byte order of
> numeric variables?
>
>
> Jens
Something like
enum QDataStream::ByteOrder
{
QDataStream::BigEndian
QDataStream::LittleEndian
}
?
--
[ signature omitted ]
Message 3 in thread
Hi,
In Qt4.3.0, Trolltech included several functions for this purpose
which can be found at http://doc.trolltech.com/4.3/qtglobal.html
(qTo*Endian and qFrom*Endian).
The byte order of the host is stored in QSysInfo::ByteOrder.
- Jonas
2007/6/10, Jens Luedicke <jens.luedicke@xxxxxxxxx>:
> Hey,
>
> is there something within Qt4 to manipulate the byte order of
> numeric variables?
>
>
> Jens
>
> --
> Jens Luedicke
> web: http://perldude.de/
>
> --
> To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with "unsubscribe" in the subject or the body.
> List archive and information: http://lists.trolltech.com/qt-interest/
>
>
--
[ signature omitted ]
Message 4 in thread
On 6/10/07, Jonas Gehring <jonas.gehring@xxxxxxxxxxxx> wrote:
> Hi,
>
> In Qt4.3.0, Trolltech included several functions for this purpose
> which can be found at http://doc.trolltech.com/4.3/qtglobal.html
> (qTo*Endian and qFrom*Endian).
> The byte order of the host is stored in QSysInfo::ByteOrder.
>
Thanks! I will have a look at them.
--
[ signature omitted ]