Re: [whatwg/streams] ReadableStream.prototype.arrayBuffer() (#1019)

Can I suggest instead having a `.bytes()` method which gives you a Uint8Array? See https://github.com/w3ctag/design-principles/issues/463, https://github.com/whatwg/fetch/issues/1724#issuecomment-1814626681, etc. My [proposal for base64 support in JS](https://github.com/tc39/proposal-arraybuffer-base64) also operates on Uint8Arrays.

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

Message ID: <whatwg/streams/issues/1019/2016948193@github.com>

Received on Sunday, 24 March 2024 21:25:35 UTC