Re: File API Feedback

On Tue, 30 Jun 2009, Olli Pettay wrote:
> 
> File API should probably have some way to get only parts of the file.
> getAsXXX(long long offset, long long length). Then uploading huge files
> could be split and decoding video (or something like that) in JS might become
> possible.
> This is something we need for XHR too
> https://bugzilla.mozilla.org/show_bug.cgi?id=496533

I'd rather just have an API that lets you split a File into a 
sequence<FileData> (where FileData is what File inherits from) of equally 
sized chunks, or something like that, than something that lets you get 
chunks out in particular forms.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Tuesday, 30 June 2009 10:45:26 UTC