From: Francis Cianfrocca Date: 2006-09-22T23:39:13+09:00 Subject: 64-bit integers in network byte-order All, does Ruby have a way to convert 64-bit integers to and from network order in a platform-independent way? For 32-bit ints, I can use [value].pack("N"). The conversion operator for 64-bit ints ("Q") doesn't have a network-order variant. (I assume this is because the underlying byte-order converters (htons/htonl) don't have a 64-bit version on 32-bit platforms.) -- Posted via http://www.ruby-forum.com/.