adamhathcock / sharpcompress

SharpCompress is a fully managed C# library to deal with many compression types and formats.
MIT License
2.29k stars 482 forks source link

LZMA EOS marker detection #786

Closed Erior closed 11 months ago

Erior commented 11 months ago

The DataError in #774 comes from the LZMA stream having EOS bytes at the end, we would need to check if the stream has it or not before raising DataError.

Added a test archive generated from 7za with the -meos flag set.

adamhathcock commented 11 months ago

thanks!