Open bwlewis opened 5 years ago
Hi @bwlewis, yes indeed, that would be nice. But although the LZ4 frame format is well documented, I don't see an obvious way of generating LZ4 files from the library API without having the LZ4 command line tool installed.
If you have an idea on how to best implement that, suggestions are very welcome!
There is an example of that in that ancient https://github.com/bwlewis/lz4 package, see ?lzDecompress
. That example shows compressing a file with the library and then reading that with the lz4 command line program. The reverse could also be possible.
Just an idea, probably not really very important...
It would be nice if there were an option to output lz4-compressed data in a form compatibile with the lz4 command line file format, see for instance the examples in ?lzDecompress from the https://github.com/bwlewis/lz4 (very old and defunct) package.