mirror of
https://github.com/asadbek064/hyparquet.git
synced 2025-12-30 17:06:38 +00:00
Fix readBitPacked for 17+ bitwidth
This commit is contained in:
parent
b22416d7f1
commit
72cdffef7c
@ -97,7 +97,7 @@ function readBitPacked(reader, header, bitWidth, output, seen) {
|
||||
if (right > 8) {
|
||||
right -= 8
|
||||
left -= 8
|
||||
data >>= 8
|
||||
data >>>= 8
|
||||
} else if (left - right < bitWidth) {
|
||||
// if we don't have bitWidth number of bits to read, read next byte
|
||||
data |= reader.view.getUint8(reader.offset) << left
|
||||
|
||||
Loading…
Reference in New Issue
Block a user