Re: [streams] rsReader.readBatch(numberOfChunks)? rbsReader.read(view, { waitUntilDone: true })? (#320)

How does the readBatch() on a non-BYOB reader of a ReadableByteStream work? numberOfChunks is number of chunks? Or number of bytes? E.g. if there're two ArrayBufferViews `abv0`, `abv1` available for read, and `abv0.byteLength` < `N` < `abv1.byteLength`, we return an Array of `abv0` and `abv1.subarray(0, N - abv0.byteLength)`?


---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/issues/320#issuecomment-91606599

Received on Friday, 10 April 2015 16:21:04 UTC