Re: [streams] Add .bytesRead to ReadableByteStream.*Reader (#367)

I think it is a matter of convenience. E.g. it could be convenient, if we allow it, to request a body from one URL, read off the first 200 bytes (the "header" portion), then upload the rest elsewhere. If we disallow such things, then it becomes more manual work for authors, and possibly more memcpys. (Especially since we backed away from writable streams for uploads.)

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

Received on Thursday, 25 June 2015 23:19:43 UTC