Re: [whatwg/streams] Why does the `read` method of `ReadableStreamBYOBReader` class, need to _transfer_ the buffer it is provided? (Issue #1348)

bvisness left a comment (whatwg/streams#1348)

You'll have to explain to me a scenario where this is breaking, I guess. Shipping this would not break existing apps, because existing apps would only pass ArrayBuffer to a BYOB read.

It _would_ mean that some (hypothetical) existing ReadableStream implementations are not compatible with SharedArrayBuffer. But that's not breaking, that's just a lack of forward compatibility with new options.  

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

Message ID: <whatwg/streams/issues/1348/3190628326@github.com>

Received on Friday, 15 August 2025 05:08:01 UTC