LZMA

public class LZMA: DecompressionAlgorithm

Provides decompression function for LZMA algorithm.

  • Decompresses data using LZMA algortihm.

    Throws

    LZMAError if unexpected byte (bit) sequence was encountered in data. It may indicate that either data is damaged or it might not be compressed with LZMA at all.

    Declaration

    Swift

    public static func decompress(data: Data) throws -> Data

    Parameters

    data

    Data compressed with LZMA.

    Return Value

    Decompressed data.