[clug] CFile testers needed :-) Now reading and writing XZ files!
paulway at mabula.net
Wed Nov 20 14:43:54 MST 2013
-----BEGIN PGP SIGNED MESSAGE-----
I've been working on my CFile library and now it can read and write .xz
files. CFile gives you a standard 'stdio'-like interface to reading and
writing files regardless of their compression type - if you open a .gz, .bz2
or .xz file you can read or write uncompressed data using standard fgets,
fprintf, fread, fwrite, feof, etc functions, and the compression happens
behind the scenes. If you open any other file, you get the same interface
on an uncompressed file.
I'm now at the stage where I'd like more people to use it and suggest
improvements or send me bug reports :-) Or just make your C (and C++)
programs read and write compressed and uncompressed files seamlessly.
You can check the code out from:
(Yes, I've finally moved my development work to git!)
Feedback, etc all welcome. Have fun,
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
-----END PGP SIGNATURE-----
More information about the linux