def inflate.block.done

gralha-bytes@0.1.0.1 · bytes.bend:353

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

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))

Uses (8)

Used by (1)