def Huff.from_lens
import bend-kit-bits@0.1.0.1/bits.bend as Bitsimport Base
293# Symbol i has length lens[i], as DEFLATE sends them (RFC 1951 §3.2.2).
294def Huff.from_lens(+msb: Bool, +lens: List<&2, U32>) -> Maybe<&1, Huff>:
295 Huff.from_codes(msb, codes(lens, 0))