def Ws.unmask

bend-kube-runtime@0.2.0.0 · src/ws.bend:96

import bend-kube-runtime@0.2.0.0/src/ws.bend as Ws
import Base

96def Ws.unmask(key: List<&2, U32>, +b: U32) -> U32:
97  match key:
98    case Nil{}:
99      b
100    case Con{k, t}:
101      U32.xor(b, k)

Uses (3)

Used by (1)