Adds three new methods to the Blob interface to perform read operations: text(), arrayBuffer(), and stream().
Motivation
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.
Documentation
Specification
Status in Chromium
Enabled by default (tracking bug) in:
- Chrome for desktop release 76
- Chrome for Android release 76
- Android WebView release 76
Consensus & Standardization
After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.
- Positive
- No signal
- No signal
- Positive
Owners
Search tags
Blob, stream, arraybuffer, read,Last updated on 2020-11-09