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