#archive #version #file #fct #devised #janick #eicher

libfct4

Implementation of FCT Version 4 (Devised by Janick Eicher) in Rust

3 releases

0.1.2 Jan 4, 2022
0.1.1 Dec 23, 2021
0.1.0 Dec 23, 2021

#579 in Compression

29 downloads per month

MIT license

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

~140–325KB