@jsprismarine/jsbinaryutils
Advanced tools
@@ -29,3 +29,3 @@ "use strict"; | ||
| write(buf) { | ||
| this.binary.push(...buf); | ||
| this.binary = [...this.binary, ...buf]; | ||
| this.writeIndex += buf.byteLength; | ||
@@ -32,0 +32,0 @@ } |
@@ -24,3 +24,3 @@ import assert from 'assert'; | ||
| write(buf) { | ||
| this.binary.push(...buf); | ||
| this.binary = [...this.binary, ...buf]; | ||
| this.writeIndex += buf.byteLength; | ||
@@ -27,0 +27,0 @@ } |
+1
-1
| { | ||
| "name": "@jsprismarine/jsbinaryutils", | ||
| "version": "5.3.3", | ||
| "version": "5.4.3", | ||
| "description": "Basic binary data managing tool written in TypeScript.", | ||
@@ -5,0 +5,0 @@ "main": "./dist/cjs/BinaryStream.js", |
63359
0.04%