Closed Emmerman closed 13 years ago
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.
Thanks Emmerman for this report.
wrote a simple test and fixed as you suggested.
Best Regards.
Tim
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.