Re: [streams] What types does ReadableByteStream's reader's read(x) accept and return? (#295)

Here's today's snapshot of thin BYOB byte stream reader I've been prototyping.
- https://github.com/whatwg/streams/blob/406ac64e7f83375497eee273bf638c314fce10a4/reference-implementation/lib/experimental/thin-byob-byte-stream-reader.js
- https://github.com/whatwg/streams/blob/406ac64e7f83375497eee273bf638c314fce10a4/reference-implementation/test/experimental/thin-byob-byte-stream-reader.js

Some notes
- currently the tuple returning approach is employed.
- two different error concepts. fatal and non-fatal. non-fatal errored reader will return the buffers. the fatal one, not.

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

Received on Thursday, 12 March 2015 04:59:05 UTC