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

>> In Blink, we don't have it yet.

> Hmm OK. I thought it would just be a natural extension of the cross-worker transfer (from structured clone). But I can understand if not. Do you think there's a potential theoretical problem or is it just the practical issue of when work gets done?

I looked at V8 and found v8::ArrayBuffer::Neuter (Yesterday I imagined we didn't have it, sorry > @tyoshino). Although non-trivial work is needed to implement a native function that is equivalent to ArrayBuffer.transfer, I now think we (Blink) can do it without detailed specification on ES7.
But I'm still concerned about other implementers. @wanderview, do you have any concern about this point?



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

Received on Wednesday, 4 March 2015 06:18:06 UTC