Task: Detect if a File is Gzip Compressed in C
Task: Detect if a File is Gzip Compressed in C: a task in Terminal-Lego-15k (Harbor dataset). Write a C program that detects whether a given file is gzip compressed by checking its magic number bytes. Gzip files always begin with the two-byte magic number 0x1f 0x8b . Your program should read the…
Part of PrimeIntellect/Terminal-Lego-15k.