Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Storing integers #6

Emmerman opened this Issue Mar 25, 2011 · 1 comment


None yet
2 participants

client.set('key', 123); will not work because
var tml_buf = new Buffer(value);
creates buffer with 123 bytes length (http://nodejs.org/docs/v0.4.3/api/buffers.html#new_Buffer)

I think "var tml_buf = new Buffer(value.toString());" can help.


elbart commented Apr 7, 2011

Thanks Emmerman for this report.

wrote a simple test and fixed as you suggested.

Best Regards.


@elbart elbart closed this Apr 7, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment