mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-03 21:23:38 +00:00
There is no proper documentation to use it #233
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @aukgit on GitHub (Sep 3, 2017).
There is no proper documentation to use it
Please add proper documentation and example to compress and uncompress with 7Zip LZMA with other parameters like with encryption, with a password and so on.
This source is not usable at all.
@adamhathcock commented on GitHub (Sep 3, 2017):
I’m sorry you feel that way. Feel free to submit documentation and help or use another library.
@aukgit commented on GitHub (Sep 3, 2017):
Thank you @adamhathcock for getting back to me.
I have checked https://github.com/adamhathcock/sharpcompress/blob/master/USAGE.md
Will you please update a bit and add some examples of using password and multiple threads like 7zip GUID options
@aukgit commented on GitHub (Sep 3, 2017):
I had tried with 7zip, from 7zip GUI it takes 43 seconds but from this library and below code it takes more than 4 mins.
7Zip with Ultra 1 GB file became 18MB

with this library, the 7zip method converts to 22 MB
7zip Processing time:

@adamhathcock commented on GitHub (Sep 3, 2017):
FYI, you made a zip file not a 7Zip file. The documentation clearly says it doesn’t support creating 7Zip files: https://github.com/adamhathcock/sharpcompress/blob/master/FORMATS.md
There isn’t multi-threading support built in and not all of LZMA’s options are exposed nicely like in the 7Zip GUI.
7Zip support is pretty raw as the format itself is rather ugly. I recommend using another format like LZip anyway.
I have no plans to make 7Zip support better but the options are there if you want to add code for what you need. Pull Requests are welcome.
@aukgit commented on GitHub (Sep 3, 2017):
@adamhathcock Thank you again.
I was checking that doc too but the problem is it is not supporting LZMA2, I can only use LZMA.
For multi thread will you please give me some idea where I can modify a bit to use multithread up to 16 threads.
@aukgit commented on GitHub (Sep 3, 2017):
Somehow lzip is failing

@adamhathcock commented on GitHub (Sep 3, 2017):
You’re still trying to make zip files. LZMA vs LZMA2 isn’t your problem.
You need to dig into the code and understand the difference between Zip and 7Zip as archive formats vs compression methods.