GZip coding

Discuss programming topics for any language, any source base. If it is programming related but doesn't fit in one of the below categories, it goes here.
Post Reply
mankrip
Posts: 924
Joined: Fri Jul 04, 2008 3:02 am

GZip coding

Post by mankrip »

I'm implementing support for it right now, and I found out that GZip files does feature a checksum in the footer. What should I code to detect if the checksum is valid?

Also, what happens when extra content is appended to the file? Is the old footer overwritten by the new data, or is the new data written after the old footer?
Ph'nglui mglw'nafh mankrip Hell's end wgah'nagl fhtagn.
==-=-=-=-=-=-=-=-=-=-==
Dev blog / Twitter / YouTube
Post Reply