The inverse of huffEncode: throws on malformed input rather than guessing,
because a corrupt table must fail the load, never misprobe. The symbol count
in the header must match the decoded symbols exactly, so truncation fails
here instead of probing short.
The inverse of
huffEncode: throws on malformed input rather than guessing, because a corrupt table must fail the load, never misprobe. The symbol count in the header must match the decoded symbols exactly, so truncation fails here instead of probing short.