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.
  • Unable to perfrom repeat-distance decoding because there is nothing to repeat.

    Declaration

    Swift

    case WindowIsEmpty
  • The number of bytes to repeat is greater than the amount bytes that is left to decode.

    Declaration

    Swift

    case RepeatWillExceed