blog:python_decompress_pack_magic

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

blog:python_decompress_pack_magic [2014/10/24 11:09] – created brettblog:python_decompress_pack_magic [2014/10/24 11:09] (current) brett
Line 1: Line 1:
 ====== Python decompress PACK_MAGIC ====== ====== Python decompress PACK_MAGIC ======
  
-A file compressed with pack format has magic bytes in octal \036\037 or in hex 0x1f1e+A file compressed with pack format has magic bytes in octal \036\037 or in hex 0x1e1f
  
 GZIP can decode this along with the pcat program.  For an exercise I converted the unpack.c module in gzip into its python equivalent. GZIP can decode this along with the pcat program.  For an exercise I converted the unpack.c module in gzip into its python equivalent.
  • blog/python_decompress_pack_magic.txt
  • Last modified: 2014/10/24 11:09
  • by brett