[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Public WebGL] String support in DataView



Just responding to one point:

On Fri, Nov 4, 2011 at 2:23 PM, John Tamplin <jat@google.com> wrote:
BTW, why isn't this on DataView?  That seems the correct place for it, given the other methods on DataView.  

We envision (though it's not reflected in the spec) that the target array could be something other than an ArrayBuffer, e.g. a simple _javascript_ Array containing octet values. There are also non-Typed Array proposals for storing binary data floating around for future editions of ECMAScript. Making this API separate from Typed Arrays lets us re-use the same API while different binary storage types evolve.