Comparing version 1.6.6 to 1.6.7
# History | ||
## 1.6.7 | ||
* stringify packet data before displaying it for an error of wrong length for fullpacketserializer | ||
## 1.6.6 | ||
@@ -4,0 +8,0 @@ |
{ | ||
"name": "protodef", | ||
"version": "1.6.6", | ||
"version": "1.6.7", | ||
"description": "A simple yet powerful way to define binary protocols", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -80,3 +80,3 @@ const Transform = require("readable-stream").Transform; | ||
console.log("Chunk size is "+chunk.length+" but only "+packet.metadata.size+" was read ; partial packet : "+ | ||
packet.data+"; buffer :"+chunk.toString("hex")); | ||
JSON.stringify(packet.data)+"; buffer :"+chunk.toString("hex")); | ||
} | ||
@@ -83,0 +83,0 @@ catch(e) { |
Sorry, the diff of this file is not supported yet
100288