Skip to main content

zfill

Function zfill 

Source
pub fn zfill(bytes: &[u8], width: usize) -> Option<Vec<u8>>
Expand description

Returns None for a width whose result cannot be allocated.