-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
Just as in Issue #4, JS 32-bit limitations for bitwise operations prevent reading bit lengths greater than 31 bits because of the following section of .readbits():
while (size < n) {
byte = this._nextbyte();
if (byte == null) {
break;
}
size += 8;
// This is the problematic line, since the bitshift value accumulates within the `while` loop
bits = bits << 8 | byte;
}Metadata
Metadata
Assignees
Labels
No labels