def bf.slice

bend-osdev-legacy-ciphers@0.1.0.0 · blowfish.bend:231

import bend-osdev-legacy-ciphers@0.1.0.0/blowfish.bend as Blowfish
import Base
import bend-osdev-bytes@0.1.0.0/bytes.bend as B

231# n words of xs from offset i
232def bf.slice(xs: List<&2, U32>, i: Nat, n: Nat) -> List<&2, U32>:
233  B.take(n, B.drop(i, xs))

Uses (5)

Used by (1)