We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Extract 7z archive entries to a memory stream

It seems like 7z has no method to extract to a memory stream unlike the other classes. Is there a way to extract archive entries (SevenZipArchiveEntry) to memory rather than only to disk using ExtractToDirectory? For ArchiveEntry, TarEntry and RarArchiveEntry I can use the method Extract(Stream destination) to extract any entry to a memory stream and then pass the stream to an archive constructor (for dealing with nested archives). SevenZipArchiveEntry doesn’t have this method. Thanks in advance

7z archives may be solid. If user needs the second and latter entry, the only way to extract it is to start from the first entry, skip data of first several entries and take desired data block. That’s why we have not such extraction method.
We may implement it in later versions of Aspose.Zip.