Re: [whatwg/fetch] Proposal: response.base64() (Issue #1800)

@annevk `await response.bytes()` just gives you a buffer, you'd need `new Uint8Array(await response.arrayBuffer()).toBase64()` which is a bit longer.

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

Message ID: <whatwg/fetch/issues/1800/2581002318@github.com>

Received on Thursday, 9 January 2025 18:35:21 UTC