Adds three new methods to the Blob interface to perform read operations: text(), arrayBuffer(), and stream().
Right now, developers can read a blob with a nicely promisified and/or streamified API by do something like: new Response(my_blob).body .arrayBuffer(), .text() etc The Response wrapping trick feels like a hack, and especially as long as FileReader exists, isn't very discoverable.
Specification being incubated in a Community Group
Status in Chromium
Enabled by default
Consensus & Standardization
- No signal
Search tagsBlob, stream, arraybuffer, read,
Last updated on 2021-12-13