Re: [streams] What types does ReadableByteStream's reader's read(x) accept and return? (#295)

The pattern across most APIs so far has been to accept either ArrayBufferView/ArrayBuffer as input (now called BufferSource) and output ArrayBuffer (e.g. fetch(), XMLHttpRequest, and WebSocket). The exception is the Encoding Standard (which outputs Uint8Array), but we're not necessarily happy with that.

I'm missing the reason why we want to output a view in this thread. Please forgive my reopening if I missed it.

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

Received on Monday, 13 April 2015 14:39:30 UTC