New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ChecksumVerificationFailed on read of many files in solid archive #31
Comments
You can't skip reading these entries, even if you don't need them.
|
Thanks for quick response! Is there something to make it faster? :( |
Gone through the code of reader, and I think we need to change all those |
@Revertron Because the data to be decompressed depends on the data in front of it, you cannot simply skip the previous data and only decompress the data in the back. This is why the reader does not implement the Seek trait. |
But the 7zip app is definitely skipping all blocks before the block of extracting file. Is it possible to implement this? |
It's not easy, I'll give it a try |
@Revertron I noticed that the file "Memes.7z" contains more than one solid stream. So you can speed up decompression by skipping streams that don't contain required files. you can check this example forder_dec.rs. |
I think you should, at least, document this issue in the description of |
@pavpen Sorry about that. I'll add documentation for the method. |
I have solid archives with block size of 16Mb. And many of the files fail to read because of
ChecksumVerificationFailed
.Example archive: https://up.revertron.com/Memes.7z
Example code:
The text was updated successfully, but these errors were encountered: