digitalmars.D.announce - Datapak: Data storage format with support for multiple compression
- solidstate1991 (17/17) May 10 https://github.com/ZILtoid1991/datapak
https://github.com/ZILtoid1991/datapak It's primarily function is to store application (such as game) assets in either compressed or uncompressed format, but its extendability enables it to store longer filenames and other OS important data, metadata, etc. Currently it's in a preliminary state, but works with zstd compression (the older zlib to be added soon, lz4 in a later version), and the hash/checksum functions haven't been fully implemented. Goals in the future: * Add support for fully random access of files where it's possible (such as in uncompressed mode and zstd with shared dictionary). * Collect data on what kind of functions I should add in the future (such as finalizing the default extension for file storage). * Making the library safe compliant, mostly through trusted wrappers and boundary checks towards low-level functions.