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