bit7z
bit7z copied to clipboard
[Feature Request]: nice api for ArchiveExtractCallback/ISequentialOutStream
Feature description
Would be great if there would be an easy, clean interface in 4.x for adding a callback which is able to work on the currently decompressed block of data, so you can e.g. calculate the sha1 hash value of a file while it is being decompressed blockwise to memory. In 7z sdk theory this is an archive Extract call in test mode with ArchiveExtractCallback + ISequentialOutStream specified which inits the hash calculation, doing the hash update during the streams write calls and finalizing the hash when the extractcallback does its SetOperationResult.
Additional context
No response
Code of Conduct
- [X] By submitting this issue, I agree to follow bit7z's Code of Conduct