Class
LzmaAloneArchive
OfficeIMO.Archives
Reads single LZMA-alone (.lzma) members in managed code.
Inheritance
- object
- LzmaAloneArchive
Methods
public static long Decompress(Stream source, Stream destination, ArchiveReadOptions? options = null, CancellationToken cancellationToken = default) #Decompresses one complete LZMA-alone member from the source's current position through EOF. Validates framing before writing to the destination and returns the decoded byte count. Both streams remain open.
Parameters
- source System.IO.Stream
- destination System.IO.Stream
- options OfficeIMO.Archives.ArchiveReadOptions? = null
- cancellationToken System.Threading.CancellationToken = default
Returns
long