quixdb / squash

Compression abstraction library and utilities
https://quixdb.github.io/squash/
MIT License
404 stars 52 forks source link

Add 7zip SDK plugin #31

Open nemequ opened 10 years ago

nemequ commented 10 years ago

http://www.7-zip.org/sdk.html

nemequ commented 10 years ago

I don't think this is going to happen. I just took a stab at it, and almost got PPMD working. The problem is that Ppmd7_DecodeSymbol will try to consume multiple bytes of input (up to 3 with enwik8), but we don't always have multiple bytes of input yet. AFAICT there is no way around this without some refactoring in the LZMA SDK.

If anyone wants to pick up this issue https://gist.github.com/nemequ/7052084 should be a good starting point.

nemequ commented 8 years ago

Reopening—this should be doable now using the threaded streaming interface.

nemequ commented 8 years ago

Git mirror of the SDK: https://github.com/jljusten/LZMA-SDK