Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Solid Extract to MemoryStream or List #70

Open
Kayot opened this issue Jun 15, 2023 · 1 comment
Open

Solid Extract to MemoryStream or List #70

Kayot opened this issue Jun 15, 2023 · 1 comment

Comments

@Kayot
Copy link

Kayot commented Jun 15, 2023

I see a function named ExtractToList, but I am unsure on how to use it or if it does what I think it does. In the wiki it states that it's better to extract the whole archive at once if it's a solid archive. The example is for file extraction. I'd like to do this into memory.

As the wiki explained, even putting the 7zip file into memory first doesn't help with the speed.

So if it's possible to quickly extract all the files from a solid archive at once into memory, then how, and if not, is it possible to add it?

(I'm actually not sure how Func works, so pardon my ignorance)

@adoconnection
Copy link
Owner

Hi, sorry for late reply.
Thats a good point. We can add public void Extract(Func<Entry, Stream> getOutputPath) function.
So basically for each Entry you will be expected to return a stream where to put file or null if you want to skip file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants