Re: [encoding] Signaling EOF in the streaming case is unspecified (or too unclear) (#12)

Just `decode()`. An example using streaming would probably help. e.g. from https://github.com/inexorabletash/text-encoding

```js
var string = "", decoder = TextDecoder(encoding), buffer;
  while (buffer = next_chunk()) {
    string += decoder.decode(buffer, {stream:true});
  }
  string += decoder.decode(); // finish the stream
```


---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/encoding/issues/12#issuecomment-153103187

Received on Monday, 2 November 2015 18:03:34 UTC