Re: [streams] Move BYOBRequest after BYOBController and add FS example (b430f33)

BTW, the example below also need to handle `bytesRead` as well as the issue @yutakahirano pointed out at https://github.com/whatwg/streams/pull/430#issuecomment-192093149 in the newly added example.

`buffer` can be filled partially (even if the API blocks until CHUNK_SIZE bytes are filled, we may eventually need to return a partially filled buffer at the end of the file), and there's no way to know that for the user of the stream.

---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/commit/b430f330000bc4bd8f982074bdc11439e0f36c2d#commitcomment-16583369

Received on Wednesday, 9 March 2016 09:05:12 UTC