fpgaminer / rust-lzma

A Rust crate that provides a simple interface for LZMA compression and decompression.
MIT License
79 stars 14 forks source link

7zip files fail on decompress #23

Closed AdsSengupta closed 2 years ago

AdsSengupta commented 4 years ago

The data is corrupt and I can't identify the cause. File works correctly with regular 7zip.

fpgaminer commented 4 years ago

Sorry, the README is incorrectly worded. This crate is a wrapper over liblzma which only handles the XZ format, not the 7zip format. (7zip often uses LZMA compression, but the file formats are different).