def cm.xor_bytes.go
import bend-osdev-mode-core@0.1.0.0/mode_core.bend as ModeCoreimport Base
import bend-osdev-bytes@0.1.1.0/bytes.bend as B
244def cm.xor_bytes.go(xs: List<&2, U32>, ys: List<&2, U32>, acc: List<&2, U32>) -> List<&2, U32>:
245 match xs ys:
246 case Con{a, s} Con{b, t}:
247 cm.xor_bytes.go(s, t, Con{cm.byte(U32.xor(a, b)), acc})
248 case _ _:
249 B.rev(acc)