From: Xie Hanjian Date: 2008-12-19T13:34:25+09:00 Subject: How to check endianess using ruby? --7AUc2qLy4jB3hD7Z Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, What's the right way to check the endianess(big/little endian) of the machi= ne on which the ruby code run? Thanks Jan --=20 jan=3Dcallcc{|jan|jan};jan.call(jan) --7AUc2qLy4jB3hD7Z Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iQEcBAEBAgAGBQJJSyYlAAoJEBcDvo3O83d62tEH/RaJ7AOLqSEMepvHGfzaK0Am /LlZvKf6q9Lx+ecuVbcuW0mG8+Nx8s/OjybF1Sj8X57IeajmYSgDhwK2HlonkXUD hs62Hxt8uwW3g+dn1+9i1NO7RKdGaoOX0TnBdlUoh1pDN9jX0G0uD0tw4cL7/0ui DeO22hxOy43ldC2o3vSwJqYhlbcTho54qyE6L9tzxNLFcFnpx+HaBkF6lvJVgxfY r6BeF7gRKf2C7BWG0/D9JtYUeJgxrZiAejizV8uYDd75zxnzsUvtUxdmYQ9WIUTM nA+8wDd1VzJ//8Xu4HZGNan23M+Te665IrKFOgByPi42Onn6JNwQWM6nFGkhSbM= =rU+D -----END PGP SIGNATURE----- --7AUc2qLy4jB3hD7Z--