arraybuffer.slice
Advanced tools
Comparing version 0.0.4 to 0.0.5
@@ -24,3 +24,3 @@ /** | ||
var abv = new Uint8Array(arraybuffer); | ||
var result = Uint8Array(end - start); | ||
var result = new Uint8Array(end - start); | ||
for (var i = start, ii = 0; i < end; i++, ii++) { | ||
@@ -27,0 +27,0 @@ result[ii] = abv[i]; |
{ | ||
"name": "arraybuffer.slice", | ||
"description": "Exports a function for slicing ArrayBuffers (no polyfilling)", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"homepage": "https://github.com/rase-/arraybuffer.slice", | ||
@@ -6,0 +6,0 @@ "dependencies": {}, |
8974