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

Oh, right. I remembered that. But, that said, this problem is connected with https://github.com/whatwg/streams/issues/329. If the ReadableByteStream is designed to automatically allocate a buffer for `reader.read()` call, and if we implement an underlying byte source that may be able to pass an allocated buffer with its ownership to us (for example the identity transform being discussed in the issue), we want to pass through the buffer to the consumer. So, yes, it should be more powerful to leave the work to allocate a buffer up to the underlying source.

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

Received on Wednesday, 17 June 2015 03:34:43 UTC