LZMA2Error

public enum LZMA2Error: Error

Error happened during LZMA2 decompression. It may indicate that either the data is damaged or it might not be compressed with LZMA2 at all.

  • WrongProperties: reserved bits of LZMA2 properties byte weren’t zero.
  • WrongDictionarySize: dictionary size was greater than 2^32.
  • WrongControlByte: unsupported value of LZMA2 packet’s control byte.
  • WrongReset: unsupported ‘reset’ value of LZMA2 packet’s.
  • WrongSizes: size of compressed or decompressed data wasn’t the same as specified in LZMA2 packet.
  • Either size of decompressed data was not equal to specified one in LZMA2 packet or amount of compressed data read was different from the one stored in LZMA2 packet.

    Declaration

    Swift

    case WrongSizes