This repository has been archived on 2024-05-25 . You can view files and clone it, but cannot push or open issues or pull requests.
Good to know
🌌 Magic numbers (5.2 PNG Signature)
Identifying file formats in binary can be a bit tricky. In fact, they are magic numbers when reading the first bytes:
PNG
: 0x89 0x50 0x4E 0x47 0x0D 0x0A 0x1A 0x0AGIF
: 0x47 0x49 0x46 0x38 0x39 0x61JPEG
: 0xFF 0xD8ERRONEOUS_JPEG
: 0xff, 0xd9, 0xff, 0xd8, 0xff, 0xd8
Description
Languages
TypeScript
100%