Fixed bug in util.packUInt16LE
This commit is contained in:
parent
d0953c4196
commit
f8e0363cda
@ -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;
|
||||
};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user