def grow

bend-kit-bytes@0.3.3.0 · bytes.bend:371

import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes
import Base

371# buf, or a copy of its first len bytes in the fewest 2^d words that hold n.
372def grow(+len: U32, buf: Array<U32>, +n: U32) -> Array<U32>:
373  grow.if(room(len, n), len, buf, n)

Uses (4)

Used by (8)