W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2012

Re: BlobBuilder.append() should take ArrayBufferView in addition to ArrayBuffer

From: David Herman <dherman@mozilla.com>
Date: Tue, 24 Apr 2012 16:00:37 -0700
Cc: Arun Ranganathan <aranganathan@mozilla.com>, Eric U <ericu@google.com>, Boris Zbarsky <bzbarsky@mit.edu>, public-webapps@w3.org, Anne van Kesteren <annevk@opera.com>
Message-Id: <1D2BB63F-07C4-47FF-B819-C14FBFBB178F@mozilla.com>
To: David Herman <dherman@mozilla.com>
On Apr 24, 2012, at 3:53 PM, David Herman wrote:

> On Apr 12, 2012, at 2:48 PM, Arun Ranganathan wrote:
> 
>> I intend to add ArrayBufferView as a parameter to the Blob constructor .
> 
> Would it be possible also to allow passing an ArrayBuffer with an offset and length as an additional alternative? This would eliminate the need to create a view when you just want a slice of the buffer but don't particularly want/need to think of it as a Uint8/Uint32/whatever array.

Oh, I just saw in the bug that the idea is to *eliminate* the ArrayBuffer argument option entirely. If that's the case then disregard my question.

Dave
Received on Tuesday, 24 April 2012 23:01:05 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:52 GMT