Re: [w3c/FileAPI] Streams is hot, FileReader.readAs____ is not (#40)

This would be a great addition. When I asked people for how they would use streaming uploads in the browser, many of them had to do with getting a file from `<input type="file">`, modifying it in a streaming fashion (e.g. validating or prepending a header, or interleaving two uploaded files) and then sending them on to a server. The ability to turn a Blob/File into a ReadableStream is crucial for this.

I'd suggest `blob.stream()`, as a counterpart to the promise-returning `blob.arrayBuffer()` and `blob.text()` that were mentioned in https://github.com/w3c/FileAPI/issues/39#issue-150179394.

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/FileAPI/issues/40#issuecomment-232802766

Received on Thursday, 14 July 2016 21:50:11 UTC