simplereach/node-thrift — pull request #3 by calvinfo (2012-06-20 07:58:57+00:00)
Title: Adding full support for longs/negative long values

I copied most of the parts of the methods which seemed still applicable instead of re-writing them entirely. I think its okay since most of it was generated by the script in the first place.

This thread gives you a decent idea of what javascript can support in terms of precision:
http://stackoverflow.com/a/307200/883795

Seemed to work for random ranges of positive and negative longs that I tested with. You might want to change the parser back to BinaryParser.toLong, but that is up to you. I think it does not exactly work with the new format, but I'm not sure.

Can you pull the counter column pull request in Helenus with this change?

Thanks!