-
Notifications
You must be signed in to change notification settings - Fork 99
FR: Support Block Dependence #53
Comments
How did you compress the files? (i.e. via node-lz4 or some other tool?) |
Found the issue was with block independence flag. Non working lz4 as block independence is false
Working lz4 as block independence is true
|
The block dependency compression is indeed not implemented in the js version. |
Thanks Pierre for the follow up! Hopefully someone can help with a PR for this. 👍 |
@pierrec I am under the impression that the C version doesn't support block dependence either, is this so? Note: the enclosed file
|
@pierrec @parvez |
@pierrec So far I've used lz4js because it does decode my lz4 files compressed with K4os.Compression.LZ4 C# library. However lz4js has no stream support and I wish to use streams because I have some big lz4 files to uncompress. |
I am getting following error for some lz4 files.
I added some debug code in "Decoder.prototype.uncompress_DataBlock" function in decoder_stream.json
this.descriptor.blockMaxSize 262144 , decodedSize262144
this.descriptor.blockMaxSize 262144, decodedSize -4 <<< This is where it errors out
The text was updated successfully, but these errors were encountered: