Comparing version 0.0.1 to 0.0.2
@@ -96,5 +96,5 @@ function decode(buffer) { | ||
const tag = element.tagCode | ||
| elementFormList.indexOf(element.form) << 5 | ||
| elementClassList.indexOf(element.cls) << 6; | ||
const tag = element.cls << 6 | ||
| element.form << 5 | ||
| element.tagCode; | ||
@@ -101,0 +101,0 @@ buffer.writeUInt8(tag, offset + bytesWritten); |
{ | ||
"name": "asn1-tree", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "ASN.1 parser and decoder", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
6479