I'm trying to decode an LZMA stream into a stream object so that I can read from it without hogging memory.
My input file looks like:
some uncompressed data
.
.
some lzma compressed data
.
.
And I'd like to read the uncompressed data, then make a stream object to read the rest of the compressed data.
Reading the whole thing into a byte[] is not an option because the file is too big. I need a stream (which must be possible, because you can zip very large files)
I've tried using sevenzipsharp, but the lack of documentation makes it impossible for someone with my (not very significant) experience to make sense of.
Any suggestions?
Edit: I am reading from a file into memory, so decoding a zip file into a file is not enough.