mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-17 16:32:11 +01:00
Unlike the other decode_huffman_etc! methods, decode_huffman_slow? (with a ?) can suspend. The (hlen, hdist) and the remainder (length, distance) pairs might not be stable across a suspension, as the args.dst io_writer might change its history length. We have to re-calculate those pairs after a short write. The test/3pdata/nia-checksums-of-pngsuite.txt for interlaced and non-interlaced flavors of the same image now match.