def byte32

bend-collections-laws-math@1.0.0.0 · src/math/fixed.bend:240

import bend-collections-laws-math@1.0.0.0/src/math/fixed.bend as Fixed
import Base

240def byte32(+x: U32, +k: Nat) -> U32:
241  U32.mod(U32.shrn(x, Nat.mul(8n, k)), 256)

Uses (5)

Used by (7)