Re: [whatwg/encoding] TextDecoderStream: empty Uint8Array should result in an empty string (Issue #283)

I agree with the byte stream, that definitively would be great. I didn't take that concept into consideration when opening this issue, and as such I guess this issue is redundant.
One reason for `LineStream` to be `Uint8array` based was to align with a utility we have that does the equivalent but with Deno's `Deno.Reader` & `Deno.Writer`: so to have a 1-to-1 mapping & people effortlessly change over to the WHATWG streams based one; but looking back on it with this issue in mind, I see that might have been a mistake.

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

Message ID: <whatwg/encoding/issues/283/1056741488@github.com>

Received on Wednesday, 2 March 2022 10:08:02 UTC