def U8.shl
import bend-kit-int@0.2.0.0/int.bend as Intimport Base
864def U8.shl(a: U8, k: Nat) -> U8:
865 match a:
866 case U8{x}:
867 U8{U32.and(U32.shln(x, k), 255)}
Uses (4)
Used by (0)
No other definition uses this definition.
import bend-kit-int@0.2.0.0/int.bend as Intimport Base
864def U8.shl(a: U8, k: Nat) -> U8:
865 match a:
866 case U8{x}:
867 U8{U32.and(U32.shln(x, k), 255)}
No other definition uses this definition.