W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2013

Re: Overlap between StreamReader and FileReader

From: Anne van Kesteren <annevk@annevk.nl>
Date: Wed, 17 Jul 2013 11:46:20 -0700
Message-ID: <CADnb78i-MWrGn-8O6p9nEDnNhHnuQs01tfYWpZRzJfz==QQmiQ@mail.gmail.com>
To: Jonas Sicking <jonas@sicking.cc>
Cc: Takeshi Yoshino <tyoshino@google.com>, Feras Moussa <feras.moussa@hotmail.com>, Travis Leithead <travis.leithead@microsoft.com>, Alex Russell <slightlyoff@google.com>, "Web Applications Working Group WG (public-webapps@w3.org)" <public-webapps@w3.org>
On Wed, Jul 17, 2013 at 11:05 AM, Jonas Sicking <jonas@sicking.cc> wrote:
> What do you mean by "such features"? Are you saying that a Stream zip
> decompressor should be responsible for both decompressing as well as
> binary->text conversion? And thus output something other than a
> Stream?

I meant that for specialized processing you'd likely want more than
just decoding. You mentioned HTML parsing which requires a fair amount
more. And if it's just decoding, we could extend
TextEncoder/TextDecoder to work with Stream objects.


--
http://annevankesteren.nl/
Received on Wednesday, 17 July 2013 18:46:47 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:14:12 UTC