开发者

gzip file - does it have a block header like bzip2 does?

开发者 https://www.devze.com 2023-02-03 15:22 出处:网络
Every compressed block in bzip2 format have a header, which begins with \".compressed_magic:48= 开发者_运维百科0x314159265359 (BCD (pi))\". So It can be rather easy to detect middle of big bzip2 in bi

Every compressed block in bzip2 format have a header, which begins with ".compressed_magic:48 = 开发者_运维百科0x314159265359 (BCD (pi))". So It can be rather easy to detect middle of big bzip2 in binary form.

Does the gzip format have the same magic constants in the middle of the big file?

or this question is like: does gzip have a gziprecover like bzip2 has bzip2recover


http://www.gzip.org/zlib/rfc-gzip.html I didnt reread it, but as far as I remember, then no block headers in that format.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号