Re: [whatwg/streams] What should we call ReadableByteStream.prototype.getBYOBReader()? (#294)

Now I feel that `ReadableStreamBYOBController` is not the best naming for the controller with the BYOB feature. It has facilities for BYOB reading, but can also work with the default reader. Its main and essential characteristic is that it handles bytes (expects bytes, copies and repackages bytes).

So, I propose:
- rename `ReadableStreamBYOBController` to `ReadableStreamBytesController` (similar to one of the candidates in https://github.com/whatwg/streams/pull/418#issuecomment-171822826)
- renaming the "byob" parameter of the ReadableStream constructor to (source|controller)?(Type|Mode)
  - let the default value to be "default", 
  - when its value is "bytes", 


---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/issues/294#issuecomment-202748216

Received on Tuesday, 29 March 2016 07:07:21 UTC