Progress LZMA SDK

In my application, I am compressing ~ 400 MB of data using the LZMA SDK. Naturally, this takes some time. Even after massive Googling, I could not find any information on how to get information about the actual progress of the compression process. Is this done with some callback function or what?

+3
source share
1 answer

Have you looked at the examples presented in the SDK? For example, in the CPP \ 7zip \ Compress \ LZMA_Alone folder there is a fairly complete reference LZMA implementation. The LzmaBench.cpp file in this directory contains the whole CBenchProgressInfo class, including a callback for progress information.

+2
source

Source: https://habr.com/ru/post/1722041/


All Articles