mranney/node_redis — pull request #317 by mjijackson (2012-10-27 03:40:49+00:00)
Title: Make return_buffers work with ints

The parser returns buffers when `return_buffers` is `true` in every case except for integers. However, it can be useful to return a Buffer instead of an integer when the number is larger than the maximum allowed by JavaScript.

The [test case](https://github.com/mjijackson/node_redis/blob/return_buffers_ints/test.js#L104-116) shows an example of starting with the largest number in JavaScript and using a parser that returns buffers with `incr` to get the next number in the sequence.