Enumeration Caseswift-png 4.4.5LZ77
invalidBlockElementCountParity(_:_:)
A compressed block of stored type had inconsistent element count fields.
LZ77.DecompressionError.swift:39case invalidBlockElementCountParity(UInt16, UInt16)
A valid element count field is the bitwise negation of the other element count field.
See also
case invalidBlockTypeCode(UInt8)
A compressed block had an invalid block type code.
case invalidHuffmanRunLiteralSymbolCount(Int)
A compressed block of dynamic type declared an invalid number of run-literal symbols.
case invalidHuffmanCodelengthHuffmanTable
A compressed block of dynamic type declared an invalid codelength huffman table.
case invalidHuffmanCodelengthSequence
A compressed block of dynamic type declared an invalid sequence of symbol codelengths.
case invalidHuffmanTable
A compressed block of dynamic type declared an invalid distance or run-literal huffman table.
case invalidStringReference
A compressed block contains an invalid run-length string reference.
Other cases
case invalidStreamChecksum(declared: UInt32, computed: UInt32)
The modular redundancy checksum computed on the uncompressed data did not match the checksum declared in the compressed data stream footer.