Class
LzipArchive
OfficeIMO.Archives
Decompresses lzip files in managed code.
Inheritance
- object
- LzipArchive
Methods
public static LzipReadResult Decompress(Stream source, Stream destination, ArchiveReadOptions? options = null, CancellationToken cancellationToken = default) #Decompresses every member from the current position of source into destination, verifying each member's CRC-32, data size and member size. Data after the last member is rejected.
Parameters
- source System.IO.Stream
- destination System.IO.Stream
- options OfficeIMO.Archives.ArchiveReadOptions? = null
- cancellationToken System.Threading.CancellationToken = default
Returns
LzipReadResultExceptions
ArchiveCorruptionException– The input is not lzip, is truncated, or fails a check.OfficeInspectionResourceLimitException– A configured limit is exceeded.