more tolerant CBOR

This commit is contained in:
Dusan Jakub
2023-10-11 23:12:54 +02:00
parent 830048d3e2
commit 5b61d61e4e

View File

@@ -414,7 +414,8 @@
var ret = decodeItem();
if (offset !== data.byteLength)
throw "Remaining bytes";
console.warn("Remaining bytes")
//throw "Remaining bytes";
return ret;
}