Blob.arrayBuffer returns uint8array (#7086)

This commit is contained in:
crowlKats 2020-08-17 23:46:08 +02:00 committed by GitHub
parent 974215afdd
commit b44b7a9a60
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

View file

@ -151,7 +151,7 @@
bytes.set(chunk, offs);
offs += chunk.byteLength;
}
return bytes;
return bytes.buffer;
} else {
throw new TypeError("Invalid reader result.");
}