Page 1 of 1

GZip coding

Posted: Thu Dec 30, 2021 12:56 am
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?