adamhathcock / sharpcompress

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

LZMA EOS marker detection #786

Closed Erior closed 6 months ago

Erior commented 6 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 6 months ago

thanks!