--===============1197333005== Content-Type: multipart/signed; boundary="nextPart30527256.NW7qFELvyK"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart30527256.NW7qFELvyK Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline R=FCdiger Kn=F6rig wrote: >> htons, htonl, ntohs, ntohl should do the big-endian to machine-endian >> stuff. > >But only for short- and long int datatypes. Datatypes of different length >won't be handled. Indeed, but those will be implemented in fast, assembly inlined code :-) 16- and 32-bit conversions are probably the most widespread conversion=20 anyways. BTW, in your ConvertEndianness class, why does it have a virtual destructor= ?=20 =46or that matter, why does it have constructor and destructors at all? =2D-=20 Thiago Macieira - Registered Linux user #65028 thiago (AT) macieira (DOT) info ICQ UIN: 1967141 PGP/GPG: 0x6EF45358; fingerprint: E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358 --nextPart30527256.NW7qFELvyK Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQBBf58pM/XwBW70U1gRAgTmAJ9JOXAqnVwGW9Q6Ku2DNLTd8Th5UQCeMMTI fVyeY5gDFi4aQ3bbsx7POAA= =zkcR -----END PGP SIGNATURE----- --nextPart30527256.NW7qFELvyK-- --===============1197333005== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe << --===============1197333005==--