[whatwg/streams] ReadableStream.prototype.arrayBuffer() (#1019)

It would be good to have a convenience method to concatenate the contents of a ReadableStream into a (promise for a) Uint8Array.

It is unclear what should happen if the stream contains chunks that are not ArrayBuffer or ArrayBufferViews.

Other similar methods we might consider are `.blob()` and `.text()`.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/issues/1019

Received on Tuesday, 15 October 2019 05:26:27 UTC