Open naturallymitchell opened 5 years ago
May also be best to implement the same thing for zip and tar.
Do you want to just compress files or data as well?
I'd only thought about files with the same use case as cli tar.
Do you mean something like comboing fs.read/write with xz.to_string/from_string for streams? If so, that'd seem like a way to build handlers, eg web server/client, without hardcoding those mechanics, which'd be cool.
But, afair gz and brotli are better for stream compression. lzma is definitely a file thing, afaict