TypedArray polyfill ripped from this module.
var Uint8Array = require('typedarray').Uint8Array;
var ua = new Uint8Array(5);
ua[1] = 256 + 55;
console.log(ua[1]);
output:
55
var TA = require('typedarray')
The TA
object has the following constructors:
With npm do:
npm install typedarray
To use this module in the browser, compile with browserify or download a UMD build from browserify CDN:
http://wzrd.in/standalone/typedarray@latest
MIT
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.