Skip to content

Misc Notes

Magic Numbers

Format: Each file format has a unique magic number.
For instance:
* gzip files start with 1F 8B * PNG images start with 89 50 4E 47 * ELF executables start with 7F 45 4C 46.