bit-array
bit-array copied to clipboard
Adding a method to create a BitArray from a typedArray
use it like let type16 = new Uint16Array(input, 2,1); let bit_array = BitArray.typedArray(type16); // bit_array has its own buffer, it will not operate on the TypedArray buffer