BitArray: A simple bit array/bit field library in pure JavaScript
BitArray is now depricated and aliased to BitSet.js. For full feature overview, consult the documentation.
The old API is still maintained for bitarray:
Examples
Create a bit array 1000 bits wide:
var ba = 1000;
Setting and reading bits:
ba;ba; // => 1 ba;ba; // = > 0
More:
var ba = 20;1359111315;ba; // => "01010100010101010000"
Copyright and licensing
Copyright (c) 2014-2018, Robert Eisele Dual licensed under the MIT or GPL Version 2 licenses.