def sized

bend-collections-laws-crypto@1.0.0.0 · spec/crypto/blake/blake2b.bend:282

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

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

Uses (10)

Used by (2)