2 ms·
gzip adds its own file header with lots of useless information like a field for a file name. zip uses a different header for the compression stream, commonly k
by account42 3y ago
gzip adds its own file header with lots of useless information like a field for a file name.
zip uses a different header for the compression stream, commonly known as the zlib format.
They also use different checksums at the end (CRC32 vs Adler32).