diff --git a/lib/util.js b/lib/util.js index 196e747..da2b092 100644 --- a/lib/util.js +++ b/lib/util.js @@ -176,7 +176,7 @@ exports.serializeString = function(s){ exports.packUInt16LE = function(num){ - var buff = new Buffer(4); + var buff = new Buffer(2); buff.writeUInt16LE(num, 0); return buff; };