Comparing version 0.2.1 to 0.2.2
@@ -409,4 +409,4 @@ /* | ||
function encodeBuffer(obj) { | ||
var len = obj.length.toString(10) | ||
buf = new Buffer(len.length+1+obj.length) | ||
var len = obj.length.toString(10), | ||
buf = new Buffer(len.length+1+obj.length); | ||
@@ -441,3 +441,3 @@ buf.write(len, 0, "ascii") | ||
} else { | ||
buf2 = new Buffer(buffer.length + num) | ||
var buf2 = new Buffer(buffer.length + num) | ||
buffer.copy(buf2, 0, 0) | ||
@@ -444,0 +444,0 @@ buffer = buf2 |
{ | ||
"name" : "bncode", | ||
"version" : "0.2.1", | ||
"version" : "0.2.2", | ||
"description" : "bittorrent bencoding and decoding.", | ||
@@ -5,0 +5,0 @@ "author" : "Tim Becker <tim.becker@kuriositaet.de>", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
125271