def inflate.copy
import gralha-bytes@0.1.0.1/bytes.bend as Bytesimport Base
228def inflate.copy(n: Nat, +distance: U32, +out: Bytes) -> Bytes:
229 match n:
230 case 0n: out
231 case 1n+d: inflate.copy(d, distance, bytes.push(out, bytes.get(out, (bytes.size(out) - distance : U32))))