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().
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().