{"comment":{"url":"https://api.github.com/repos/whatwg/streams/comments/15999049","html_url":"https://github.com/whatwg/streams/commit/f6a4974c72e2fed16f7603c8a1ddfdbb92db5cab#commitcomment-15999049","id":15999049,"user":{"login":"tyoshino","id":4511440,"avatar_url":"https://avatars.githubusercontent.com/u/4511440?v=3","gravatar_id":"","url":"https://api.github.com/users/tyoshino","html_url":"https://github.com/tyoshino","followers_url":"https://api.github.com/users/tyoshino/followers","following_url":"https://api.github.com/users/tyoshino/following{/other_user}","gists_url":"https://api.github.com/users/tyoshino/gists{/gist_id}","starred_url":"https://api.github.com/users/tyoshino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tyoshino/subscriptions","organizations_url":"https://api.github.com/users/tyoshino/orgs","repos_url":"https://api.github.com/users/tyoshino/repos","events_url":"https://api.github.com/users/tyoshino/events{/privacy}","received_events_url":"https://api.github.com/users/tyoshino/received_events","type":"User","site_admin":false},"position":16,"line":487,"path":"reference-implementation/lib/readable-stream.js","commit_id":"f6a4974c72e2fed16f7603c8a1ddfdbb92db5cab","created_at":"2016-02-10T08:34:02Z","updated_at":"2016-02-10T08:34:02Z","body":"Hmm, yeah. I agree that we should refrain from introducing a very different set of arguments.\r\n\r\nBut as you analyzed, requiring a ArrayBufferView shouldn't be a good idea. The only things the underlying byte source may alter are the contents starting from view.offset and buffer (as it may get transferred). So, accepting the number of bytes written and buffer reference is basically the simplest and ideal (in terms of not receiving invariants) set.\r\n\r\nExperimentally implemented your suggestion: 033248191df78b299a643f2e1bc33172472c1dd1"}}