Re: [whatwg/encoding] Encode hook not adequate (#235)

Encode or fail would not work as the encoder can be in one of two states when returning an error. So I think we need to do the alternative proposal or a variant of that whereby the caller keeps the encoder alive so it can retain state.

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

Received on Wednesday, 21 October 2020 09:20:36 UTC