XZ headers and footers c/c++ algorithm

I found XZ-Utils (http://tukaani.org/xz/) library as excellent compression algorithm but in doc/examples folder I just can find raw lzma2 compression without headers/footers as expected. The documentation file in doc/xz-file-format.txt explains how to save the data in xz-format file but I can’t find a code example how to do it (comperess/decompress). Is there any sample code to show the correct way to save the data?

Source: c++

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.