byte-data-stream
Advanced tools
Comparing version 0.0.11-rokka0 to 0.1.0-rokka0
{ | ||
"name": "byte-data-stream", | ||
"version": "0.0.11-rokka0", | ||
"version": "0.1.0-rokka0", | ||
"description": "Readable & writable byte data stream", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -31,3 +31,3 @@ const var_int = require('signed-varint'); | ||
} | ||
return arr; | ||
return Uint8Array.from(arr); | ||
} | ||
@@ -34,0 +34,0 @@ |
@@ -90,3 +90,4 @@ const var_int = require('signed-varint'); | ||
write_bytes(bytes){ | ||
for(let i = 0;i < bytes.length;i++){ | ||
let b = [...bytes]; | ||
for(let i = 0;i < b.length;i++){ | ||
this.write_uint8(); | ||
@@ -93,0 +94,0 @@ } |
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
13798
335