Function
Shortens a Uint8Array to the length of the specified bits cropBits
the Uint8Array containing the bitset
the number of used bits, or, if negative, the number of bits to remove
a new Uint8Array with the unused bits cleared
Shortens a Uint8Array to the length of the specified bits cropBits