Quantcast
Channel: sharpcompress Discussions Rss Feed
Viewing all articles
Browse latest Browse all 239

New Post: Reading LZMA (7zip) file sequential (on-the-fly)

$
0
0
Hi,

I don't find out how to read a 7zip file sequential.
My problem is I have really huge archive files and don't want to load the hole file content into the memory or to extract the the archive into a new file.

I want to read the archive as stream on the fly.

Somethink like:
using (FileStream fs = new FileStream(file, FileMode.Open))
            {
                using (LzmaStream lzmaStream = new LzmaStream(..., false, fs))
                {
                    using (XmlTextReader reader = new XmlTextReader(lzmaStream))
                    {
                        internalReadXml(reader, fileWatchThread);
                    }
                }
            }
can somebody give me a hint how to do this?

Regards Steffen

Viewing all articles
Browse latest Browse all 239

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>