[webkit-dev] Stream API
Darin Fisher
darin at chromium.org
Tue Nov 6 23:34:33 PST 2012
Has anyone reviewed the Stream API proposal from Microsoft?
Here's the spec:
http://dvcs.w3.org/hg/streams-api/raw-file/tip/Overview.htm
I see only a little mention of it on webapps-public:
http://lists.w3.org/Archives/Public/public-webapps/2011OctDec/1494.html
(I haven't looked over the proceedings from TPAC.)
Thoughts on this API?
My take: It seems useful to have a variant of Blob that supports data of
unknown length. It seems a bit unfortunate to have StreamReader and
FileReader, which are so similar. StreamBuilder seems like it may be
unnecessary given that it does not support appending Streams. It seems
like providing a way to get a Stream from a Blob would be sufficient, or if
we could just pass Blobs to any API that takes a Stream, then we wouldn't
need StreamBuilder. That is, Blobs should really just be Streams of known
length.
-Darin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20121106/977110a0/attachment.html>
More information about the webkit-dev
mailing list