We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26ca0e3 commit ae6b565Copy full SHA for ae6b565
index.js
@@ -138,7 +138,7 @@ class Blob {
138
} else {
139
const chunk = part.slice(relativeStart, Math.min(size, relativeEnd));
140
blobParts.push(chunk);
141
- added += size;
+ added += ArrayBuffer.isView(chunk) ? chunk.byteLength : chunk.size;
142
relativeStart = 0; // All next sequental parts should start at 0
143
144
// don't add the overflow to new blobParts
0 commit comments