Re: JS code examples for ACTION 43

On Thu, Sep 6, 2012 at 7:38 AM, Arun Ranganathan <arun@mozilla.com> wrote:
>
> 1. The general unwieldiness of ArrayBufferViews.  I shouldn't have used a Uint16Array,
> so no cookie for me.  But this raises an interesting point: should we just use an
> ArrayBuffer, or should we use an ArrayBufferView?  Using an ArrayBufferView obliges
> users to go through one additional step: figuring out what the data format *is*.  UTF-16?
> UTF-8?

Did you mean UTF-16 & UTF-8, or Uint16 and Uint8? I don't see "UTF"
mentioned on this Mozilla page:
https://developer.mozilla.org/en-US/docs/JavaScript_typed_arrays/ArrayBufferView#Typed_array_subclasses

Wan-Teh

Received on Thursday, 6 September 2012 17:12:51 UTC