def sized

bend-collections@1.0.0.0 · src/crypto/blake/blake3/blake3.bend:207

import bend-collections@1.0.0.0/src/crypto/blake/blake3/blake3.bend as Blake3
import Base

207def sized(+length: Nat, pair: Array<U32> & U32) -> Maybe<&1,Array<U32>>:
208  (a,capacity) = pair
209  checked(Nat.is_le(length,Nat.mul(4n,U32.to_nat(capacity))),a,length)

Uses (10)

Used by (1)