Latest Tech News

Stay updated with the latest in technology, AI, cybersecurity, and more

Filtered by: literal Clear Filter

Understanding Deflate

Understanding Deflate I’m trying to understand how Deflate works so decided to compress a simple string TOBEORNOTTOBEORTOBEORNOT using GZIP then decode the resulting file by hand. Compressing the data Pretty simple here, text in bytes out: $ echo -n 'TOBEORNOTTOBEORTOBEORNOT' | gzip -n | xxd -ps -u 1F8B08000000000000030BF17772F50FF2F30F09013342605C00F14E3D2D 18000000 Reading the GZIP data Even though I’m really interested in the compressed data I have to decode the GZIP “wrapper” in order