def cm.xor_bytes
import bend-osdev-mode-core@0.1.0.0/mode_core.bend as ModeCoreimport Base
182# byte-wise XOR, as long as the shorter list
183def cm.xor_bytes(xs: List<&2, U32>, ys: List<&2, U32>) -> List<&2, U32>:
184 match xs ys:
185 case Con{a, s} Con{b, t}:
186 Con{cm.byte(U32.xor(a, b)), cm.xor_bytes(s, t)}
187 case _ _:
188 Nil{}
Uses (4)
Used by (0)
No other definition uses this definition.