New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Storing integers #6

Closed
Emmerman opened this Issue Mar 25, 2011 · 1 comment

Comments

Projects
None yet
2 participants
@Emmerman

Emmerman commented Mar 25, 2011

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

This comment has been minimized.

Owner

elbart commented Apr 7, 2011

Thanks Emmerman for this report.

wrote a simple test and fixed as you suggested.

Best Regards.

Tim

@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