Re: a_long_is_exactly_8_bytes

2010-07-07 Thread john xie
> > - Juho Mäkinen > > On Wed, Jul 7, 2010 at 2:08 PM, john xie wrote: > > > > > > http://wiki.apache.org/cassandra/FAQ#a_long_is_exactly_8_bytes > > > > /** > > * Takes php integer and packs it to 64bit (8 bytes) long

Re: a_long_is_exactly_8_bytes

2010-07-07 Thread Juho Mäkinen
rk on 32bit environment. - Juho Mäkinen On Wed, Jul 7, 2010 at 2:08 PM, john xie 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 representatio

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