- From: Joshua Bell <notifications@github.com>
- Date: Mon, 02 Nov 2015 10:03:01 -0800
- To: whatwg/encoding <encoding@noreply.github.com>
Received on Monday, 2 November 2015 18:03:34 UTC
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