Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

LzmaAloneArchive

OfficeIMO.Archives

Namespace
OfficeIMO.Archives
Assembly
OfficeIMO.Archives
Source revision
12511d2fa560 with working tree changes
Modifiers
static

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 required
destination System.IO.Stream required
options OfficeIMO.Archives.ArchiveReadOptions? = null optional
cancellationToken System.Threading.CancellationToken = default optional

Returns

long