Function allocate_zeroed_vec

Source
pub fn allocate_zeroed_vec<T: Zeroable>(len: usize) -> Vec<T>
Expand description

Allocate a zeroed Vec.

This function has less strict boundaries tha <Vec as Buf>::zeroed.