def inflate.block.done
import gralha-bytes@0.1.0.1/bytes.bend as Bytesimport Base
import gralha-text-scan@0.1.0.1/scan.bend as U
353def inflate.block.done(+result: Inflate, last: Bool, next: BitStream -> Bytes -> Inflate) -> Inflate:
354 Inflate{stream, output} = result
355 U.branch(Inflate, last || Bool.not(bits.valid(stream)), _ => result, _ => next(stream)(output))