def huff.read.next

gralha-bytes@0.1.0.1 · bytes.bend:188

import gralha-bytes@0.1.0.1/bytes.bend as Bytes
import Base
import gralha-text-scan@0.1.0.1/scan.bend as U

188def huff.read.next(read: BitRead, zero: Huffman, one: Huffman, next: Huffman -> BitStream -> BitRead) -> BitRead:
189  BitRead{bit, stream} = read
190  next(U.choose(Huffman, U32.is_eq(bit, 0), zero, one))(stream)
191
192@unsafe

Uses (5)

Used by (1)