3 releases
| 0.1.2 | Jan 4, 2022 |
|---|---|
| 0.1.1 | Dec 23, 2021 |
| 0.1.0 | Dec 23, 2021 |
#1198 in Compression
28KB
579 lines
FCT File Container Version 4
This is an implementation of the FCT File Container Version 4 in Rust.
Specification
Archive Header
The archive header contains the file magic "FCT" and the chunk size used throughout the archive, stored in 2 bytes.
File Entry Header
The File Entry Header contains metadata about an archived file.
| Field | Size (in bytes) |
|---|---|
| Chunk Count | 4 |
| Last Chunk Size | 2 |
| File Name Length | 2 |
| File Name | File Name Length |
Storing of File Data
Files are stored directly after a File Entry Header and are aligned in size to the global chunk size.
Dependencies
~0.1–2.1MB
~39K SLoC