Re: [streams] ReadableByteStream: pull + pullInto or just pullInto (#363)

Current ReadableByteStream being redesigned at https://github.com/whatwg/streams/pull/418 has both pull and pullInto. When read(view) is called, via pullInto, the stream passes the TypedArray received from the consumer to the underlying source. For read(), `pull` is invoked and the underlying byte source allocates a TypedArray and `enqueue()`-s it. Allocation is now done by the underlying source.

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

Received on Friday, 15 January 2016 09:51:36 UTC