Re: [whatwg/encoding] Rename Encoding's "streams" to "token queues" (#215)

Thanks. Given your feedback it seems somewhat tempting to try to remove the need for prepend and add the ability to enqueue multiple items to queues. If we go with a list subtype I think we need a different name from queues. Maybe consumable list or some such?

> If that is the case, then the BOM sniff hook would have to switch to read and prepend rather than use "starts with".

Yeah, I think that would be better. Even if we allow conversions without explicit casting it seems best for these algorithms to operate as if they are getting an I/O stream.

-- 
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/pull/215#issuecomment-638150719

Received on Wednesday, 3 June 2020 12:00:23 UTC