LZMAError
public enum LZMAError: Error
Error happened during LZMA decompression. It may indicate that either the data is damaged or it might not be compressed with LZMA at all.
wrongProperties: unsupported LZMA properties (greater than 225).rangeDecoderInitError: unable to initialize RangedDecoder.exceededUncompressedSize: the number of uncompressed bytes reached amount specified by archive while decoding wasn’t finished.windowIsEmpty: unable to repeat bytes because there is nothing to repeat.rangeDecoderFinishError: range decoder was in a bad state when finish marker was reached.repeatWillExceed: unable to repeat bytes because the number of bytes to repeat is greater than the amount bytes that is left to decode.notEnoughToRepeat: unable to repeat bytes because the amount of already decoded bytes is smaller than the repeat length.
-
Properties byte was greater than 225.
Declaration
Swift
case wrongProperties
-
Unable to initialize RanderDecorer.
Declaration
Swift
case rangeDecoderInitError
-
The number of uncompressed bytes hit limit in the middle of decoding.
Declaration
Swift
case exceededUncompressedSize
-
Unable to perfrom repeat-distance decoding because there is nothing to repeat.
Declaration
Swift
case windowIsEmpty
-
End of stream marker is reached, but range decoder is in incorrect state.
Declaration
Swift
case rangeDecoderFinishError
-
The number of bytes to repeat is greater than the amount bytes that is left to decode.
Declaration
Swift
case repeatWillExceed
-
The amount of already decoded bytes is smaller than repeat length.
Declaration
Swift
case notEnoughToRepeat
View on GitHub
LZMAError Enum Reference