This page says that Uint8Array inherits its prototype from TypedArray[2] which is referenced here.[3]
[2]https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array [3]https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray/prototype On Jul 14, 2016, at 5:32 PM, Alex Harui <aha...@adobe.com> wrote: > > > On 7/14/16, 2:38 AM, "Harbs" <harbs.li...@gmail.com> wrote: > >> FYI, I just added an “array” getter which returns the underlying array of >> bytes. The exact type is different on the different platforms. >> >> Alex, I tried to make the type “TypedArray” instead of “Uint8Array” on >> the JS side, but TypedArray was not recognized for some reason. Any ideas >> on why that might be? > > Are you sure JS has such a thing? In [1] it appears to be just a > documentation shortcut. > > [1] > https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Ob > jects/TypedArray > -Alex >