Re: [whatwg/encoding] Add support for [AllowResizable] inputs (Issue #344)

annevk left a comment (whatwg/encoding#344)

Upon further consideration I think supporting `[AllowResizable]` for all of these is reasonable. The weirdest thing that could happen is that `encodeInto()` returns numbers that are no longer accurate because the buffer grew, but that would only happen in some kind of race with the `encodeInto()` call, at which point that's to be expected.

And yes, the specification will continue to define this as doing a copy that could potentially be elided with a lot of careful work.

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

Message ID: <whatwg/encoding/issues/344/2841375132@github.com>

Received on Wednesday, 30 April 2025 09:32:12 UTC