LZMA2Error

public enum LZMA2Error : Error

Represents an error which happened during LZMA2 decompression. It may indicate that either data is damaged or it might not be compressed with LZMA2 at all.

  • Dictionary size is too big, or has reserved bits set, or is in incorrect format in general.

    Declaration

    Swift

    case wrongDictionarySize
  • Unknown conrol byte value of LZMA2 packet.

    Declaration

    Swift

    case wrongControlByte
  • Unknown reset instruction encountered in LZMA2 packet.

    Declaration

    Swift

    case wrongReset
  • Either size of decompressed data isn’t equal to the one specified in LZMA2 packet or amount of compressed data read is different from the one stored in LZMA2 packet.

    Declaration

    Swift

    case wrongSizes