mirror of
https://github.com/denoland/deno.git
synced 2025-09-28 05:04:48 +00:00
Blob.arrayBuffer returns uint8array (#7086)
This commit is contained in:
parent
974215afdd
commit
b44b7a9a60
2 changed files with 7 additions and 1 deletions
|
@ -151,7 +151,7 @@
|
|||
bytes.set(chunk, offs);
|
||||
offs += chunk.byteLength;
|
||||
}
|
||||
return bytes;
|
||||
return bytes.buffer;
|
||||
} else {
|
||||
throw new TypeError("Invalid reader result.");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue