DeflateError
public enum DeflateError : Error
Represents an error which happened during Deflate compression or decompression. It may indicate that either the data is damaged or it might not be compressed with Deflate at all.
-
Uncompressed block’s
length
andnlength
bytes isn’t consistent with each other.Declaration
Swift
case wrongUncompressedBlockLengths
-
Unknown block type (not 0, 1 or 2).
Declaration
Swift
case wrongBlockType
-
Decoded symbol was found in Huffman tree but is unknown.
Declaration
Swift
case wrongSymbol
-
Symbol wasn’t found in Huffman tree.
Declaration
Swift
case symbolNotFound