On 6/30/09 1:44 PM, Ian Hickson wrote: > 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. > Yeah, that sounds better. Then XHR .send() could accept FileData as a parameter. All the .getAsXXX methods would move to that interface and there should be something like FileData getFileData(long long offset, long long length) -OlliReceived on Tuesday, 30 June 2009 12:25:38 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:43:12 GMT