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

Sorry, I forgot that Mozilla has already implemented it https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer/transfer. Never mind.

JSC also has JSC::ArrayBuffer::transfer. I imagine it corresponds to the function we are talking about.

Then it seems good to define an abstract operation and use it.

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

Received on Wednesday, 4 March 2015 06:34:00 UTC