bindet (binary file type detection)
Fast file type detection. Read more here: documentation
Supported file types
- Zip
- Rar (Rar 4 and 5)
- Tar
- Png
- Jpg
- 7-zip
- Opus
- Vorbis
- Mp3
- Webp
- Flac
- Matroska (mkv, mka, mks, mk3d, webm)
- Wasm
- Java Class
- Elf (Executable and Linkable Format)
- Wav
- Avi
- Aiff
- Tiff
- Sqlite3 (
.db) - Ico
- others are on the road
Example:
use ;
use BufReader;
use ErrorKind;
use bindet;
use FileType;
use FileTypeMatch;
use FileTypeMatches;