Re: [streams] Support reading bytes into buffers allocated by user code on platforms where only async read is available (#253)

> This asymmetry still looks a little odd.

If write() may return after writing only partial data, write() needs to return how many bytes have been written. What's the dual of this on ReadableStream? Allowing consumer code to consume only part of the buffer returned by read()?

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

Received on Tuesday, 3 March 2015 18:43:32 UTC