Re: [w3c/FileAPI] Reslove Blob to an existing ArrayBuffer (#143)

If I understand what is being requested correctly, I believe you can mostly do that already. I.e. to read a Blob into a script-supplied (pre-allocated) ArrayBuffer, you can call `Blob.stream()` to get a `ReadableStream`, and then use a `ReadableStreamBYOBReader` to read from that stream into a script-supplied array buffer.

-- 
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/143#issuecomment-563351850

Received on Monday, 9 December 2019 17:46:18 UTC