fn grow<T: Copy + Default>(buf: &mut Vec<T>, len: u32)
Grows buf to at least len, without ever shrinking it.
buf
len