Fwd: a_long_is_exactly_8_bytes

2010-07-07 Thread john xie
http://wiki.apache.org/cassandra/FAQ#a_long_is_exactly_8_bytes /** * Takes php integer and packs it to 64bit (8 bytes) long big endian binary representation. * @param $x integer * @return string eight bytes long binary repersentation of the integer in big

Re: a_long_is_exactly_8_bytes

2010-07-07 Thread Juho Mäkinen
on 32bit environment. - Juho Mäkinen On Wed, Jul 7, 2010 at 2:08 PM, john xie shanfengg...@gmail.com wrote: http://wiki.apache.org/cassandra/FAQ#a_long_is_exactly_8_bytes /** * Takes php integer and packs it to 64bit (8 bytes) long big endian binary representation

Re: a_long_is_exactly_8_bytes

2010-07-07 Thread john xie
Mäkinen On Wed, Jul 7, 2010 at 2:08 PM, john xie shanfengg...@gmail.com wrote: http://wiki.apache.org/cassandra/FAQ#a_long_is_exactly_8_bytes /** * Takes php integer and packs it to 64bit (8 bytes) long big endian binary representation. * @param $x integer