LZMA
public final class LZMA: DecompressionAlgorithm
Provides function to decompress data, which were compressed with LZMA
-
Decompresses
compressedDatawith LZMA algortihm.If data passed is not actually compressed with LZMA,
LZMAErrorwill be thrown.Throws
LZMAErrorif unexpected byte (bit) sequence was encountered incompressedData. It may indicate that either the data is damaged or it might not be compressed with LZMA at all.Declaration
Swift
public static func decompress(compressedData data: Data) throws -> DataParameters
compressedDataData compressed with LZMA.
Return Value
Decompressed data.
View on GitHub
LZMA Class Reference