Open nemequ opened 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.
Reopening—this should be doable now using the threaded streaming interface.
Git mirror of the SDK: https://github.com/jljusten/LZMA-SDK
http://www.7-zip.org/sdk.html