Python zlib

Python zlib

import zlib
import binascii
IDAT = "789C5D91011280400802BF04FFFF5EFCFC0ACF023E77C17C7897667".decode('hex')
result = binascii.hexlify(zlib.decompress(IDAT))
print result
print result.decode('hex')

 

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注