header's structure of .7z files?

Abdou Abdou picture Abdou Abdou · Dec 17, 2014 · Viewed 14.6k times · Source

Looking up in net I could find a general overview of rar format structure. http://www.rarlab.com/technote.htm

But what would I be glad to be informed is how 7z files are segmented block by block.

thanks.

Answer

Gfy picture Gfy · Dec 20, 2014

Refer to the DOC/7zFormat.txt file in the source distribution (an updated version can be found in the official SDK: https://www.7-zip.org/sdk.html).

http://fileformats.archiveteam.org/wiki/7z

To get a better understanding of the file format, you can use hachoir-wx (needs installed wxPython) to navigate an archive to the bit level. It is available via pip. Their parser supports 7zip among lots of other file formats.