chuwanghui 6d115466a5 electron库 | 6 years ago | |
---|---|---|
.. | ||
example | 6 years ago | |
test | 6 years ago | |
.travis.yml | 6 years ago | |
LICENSE | 6 years ago | |
index.js | 6 years ago | |
package.json | 6 years ago | |
readme.markdown | 6 years ago |
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