Re: Overlap between StreamReader and FileReader

Le 13/09/2013 14:23, Takeshi Yoshino a écrit :
> On Fri, Sep 13, 2013 at 6:08 PM, Aymeric Vitte <vitteaymeric@gmail.com 
> <mailto:vitteaymeric@gmail.com>> wrote:
>
>     Now you want a stream interface so you can code some js like
>     mspack on top of it.
>
>     I am still missing a part of the puzzle or how to use it: as you
>     mention the stream is coming from somewhere (File, indexedDB,
>     WebSocket, XHR, WebRTC, etc) you have a limited choice of APIs to
>     get it, so msgpack will act on top of one of those APIs, no? (then
>     back to the examples above)
>
>     How can you get the data another way?
>
>
> Do you mean that those data producer APIs should be changed to provide 
> read-by-delta-data, and manipulation of data by js code should happen 
> there instead of at the output of Stream?

Yes, exactly, except if you/someone see another way of getting the data 
inside the browser and turning the flow into a stream without using 
these APIs.

Regards,

Aymeric

-- 
jCore
Email :  avitte@jcore.fr
Peersm : http://www.peersm.com
iAnonym : http://www.ianonym.com
node-Tor : https://www.github.com/Ayms/node-Tor
GitHub : https://www.github.com/Ayms
Web :    www.jcore.fr
Extract Widget Mobile : www.extractwidget.com
BlimpMe! : www.blimpme.com

Received on Friday, 13 September 2013 12:51:23 UTC