def sized

bend-collections@1.0.0.0 · src/crypto/blake/blake2b/blake2b.bend:323

import bend-collections@1.0.0.0/src/crypto/blake/blake2b/blake2b.bend as Blake2b
import Base

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

Uses (10)

Used by (1)