While the internal representation appears to be correct, calling `.bin()` doesn't output the leading zeros for a given byte. For example, ```js var bits = new BitString(); bits.writebits(1,3); bits.bin(); ``` outputs `"100000"` rather than `"00100000"`
While the internal representation appears to be correct, calling
.bin()doesn't output the leading zeros for a given byte. For example,outputs
"100000"rather than"00100000"