7zip container format
I know how to compress an individual file using LZMA but it's not clear how to generate a valid 7-zip container for开发者_C百科 a collection of files. How do I write binary data for 7z archive format? explains how to create an empty container, but it's not clear what should get written for each file entry. Any ideas?
Take a look at the 7-ZIP SDK. It contains sourcecode for C, C++, C# and Java wich should answer your question.
精彩评论