Skip to main content

allocate

Function allocate 

fn allocate(len: usize) -> Result<Vec<u8>>
Expand description

Allocates a zeroed buffer of len bytes without aborting when memory runs out.