1.0 KiB
1.0 KiB
FileFormats
Documentation and Rust Implementation to learn how most famous file formats store data.
Concepts
2 kinds of computer files: text files and binary files.
- Text files
- Encoding (charset: ASCII, UTF-8, etc.)
- End Of Line (EOL):
\n
,\r\n
,\r
, and End Of File (EOF) - Type (common mimetypes:
text/plain
,text/html
,text/markdown
, etc.) - Indentation: Spaces vs Tabs
- Binary files: Endianness, Type
- Images
- PPM (Portable PixMap)
- PNG
- JPG, JPEG
- GIF
- WebP
- BMP
- SVG
- HEIC
- Videos
- MP4
- AVI
- Audio
- MP3
- WAV
- Documents
- DOCX
- XLSX
- PPTX
- Images