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 15:53:17 -0700
Cc: Eric U <ericu@google.com>, Boris Zbarsky <bzbarsky@mit.edu>, public-webapps@w3.org, Anne van Kesteren <annevk@opera.com>
Message-Id: <A27450AE-405D-40AB-B4C3-F0701B315E72@mozilla.com>
To: Arun Ranganathan <aranganathan@mozilla.com>
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.

Received on Tuesday, 24 April 2012 22:53:46 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:26:40 UTC