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.
-
Reserved bits of LZMA2 properties byte were not equal to zero.
Declaration
Swift
case WrongProperties
-
Dictionary size was too big.
Declaration
Swift
case WrongDictionarySize
-
Unknown conrol byte value of LZMA2 packet.
Declaration
Swift
case WrongControlByte
-
Unknown reset instruction encounetered in LZMA2 packet.
Declaration
Swift
case WrongReset
-
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
View on GitHub
LZMA2Error Enum Reference