Ensure that created buffers aren't doing any charset conversion

This commit is contained in:
Michael Morrison 2014-02-02 11:10:25 -06:00
parent 906c21be61
commit d6d7fee80f
3 changed files with 3 additions and 3 deletions

View file

@ -5,7 +5,7 @@ function buildPacket(params) {
var paramBuffers = [];
params.forEach(function(param) {
paramBuffers.push(new Buffer(param));
paramBuffers.push(new Buffer(param,'utf8'));
});
var totalLength = 12;