def w.bytes.go
import bend-kit-json@0.7.0.0/json.bend as Jsonimport Base
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes
1015def w.bytes.go(n: Nat, r: Array<U32> & U32, +i: U32, o: W) -> W:
1016 match n:
1017 case 0n:
1018 o
1019 case 1n+k:
1020 (a, +c) = r
1021 w.bytes.go(k, Bytes.peek(a, (i + 1 : U32)), (i + 1 : U32), w.put(o, c))