xz

How to get the uncompressed size of an LZMA2 file (.xz / liblzma)

Hi, I'm looking for a way to get the uncompressed stream size of an LZMA2 / .xz file compressed with the xz utility. I'm using liblzma from Windows/Linux for this task, so I guess I'm looking for some C/C++ API in liblzma that will do the trick. ...

Extract a tar.xz in C/C++

I am writing a program that downloads tar.xz files from a server and extracts them in a certain place. I am struggling to find a away of extracting the tar.xz file in the certain place. I am using Qt so a more Qt-way of doing it would be useful, but I don't really mind. ...