def word

bend-collections@1.0.0.0 · src/crypto/secp256k1/ecdsa.bend:281

import bend-collections@1.0.0.0/src/crypto/secp256k1/ecdsa.bend as Ecdsa
import Base

281# little-endian U32 words of bytes (a missing byte reads as 0)
282def word(+b0: U32, +b1: U32, +b2: U32, +b3: U32) -> U32:
283  U32.or(U32.or(b0, U32.shln(b1, 8n)), U32.or(U32.shln(b2, 16n), U32.shln(b3, 24n)))

Uses (3)

Used by (1)