def inflate.codes.next
import gralha-bytes@0.1.0.1/bytes.bend as Bytesimport Base
import gralha-text-scan@0.1.0.1/scan.bend as U
258def inflate.codes.next(+result: Inflate, next: BitStream -> Bytes -> Inflate) -> Inflate:
259 Inflate{stream, output} = result
260 U.branch(Inflate, bits.valid(stream), _ => next(stream)(output), _ => result)