def words

bend-collections@1.0.0.0 · src/crypto/chacha/chacha20.bend:30

import bend-collections@1.0.0.0/src/crypto/chacha/chacha20.bend as Chacha20
import Base

30def words(bytes: List<&2, U32>) -> List<&2, U32>:
31  match bytes:
32    case b0 <> b1 <> b2 <> b3 <> rest: word(b0, b1, b2, b3) <> words(rest)
33    case _: Nil{}

Uses (3)

Used by (3)