def lc.bswap.bits

bend-osdev-legacy-ciphers@0.1.0.0 · legacy_ciphers.bend:176

import bend-osdev-legacy-ciphers@0.1.0.0/legacy_ciphers.bend as LegacyCiphers
import Base

176# the word with its bytes in reverse order (big-endian to little-endian)
177def lc.bswap.bits(+w: U32) -> U32:
178  lc.be.bits(lc.b3.bits(w), lc.b2.bits(w), lc.b1.bits(w), lc.b0.bits(w))

Uses (6)

Used by (13)