pierrec / node-lz4

LZ4 fast compression algorithm for NodeJS
MIT License
438 stars 98 forks source link

Error With Firefox (only tested with v 29) #17

Closed rfritts closed 10 years ago

rfritts commented 10 years ago

var Buffer = require('buffer').Buffer; var LZ4 = require('lz4');

LZ4.decode( LZ4.encode('test') ) Error: Invalid version: 0 != 1 @4

Works seemingly everywhere else (IE, Chrome, etc)

pierrec commented 10 years ago

Hmm. I have just tested with Firefox 30 and all tests pass. I dont have Firefox 29 installed anywhere though so will try to ee what I can do.

rfritts commented 10 years ago

Crazy enough - when Firefox updated to 30 the issue disappeared. Developer notes for FF30 do mention some work on TypedArrays... (?)