Uncaught RangeError: "value" argument is out of bounds
at checkInt (lz4.min.js:8912)
at Uint8Array.writeInt32LE (lz4.min.js:9079)
at Encoder.compress_DataBlock (lz4.min.js:819)
at Encoder._flush (lz4.min.js:877)
at Encoder.prefinish (lz4.min.js:4583)
at emitNone (lz4.min.js:2430)
at Encoder.emit (lz4.min.js:2515)
at prefinish (lz4.min.js:5280)
at finishMaybe (lz4.min.js:5288)
at endWritable (lz4.min.js:5299)
I am not sure why this happens and if I am doing something wrong or if this is a bug.
The library crashes inside browser on a very simple input with
blockChecksum
enabled.Code:
Error in console:
I am not sure why this happens and if I am doing something wrong or if this is a bug.