Skip to main content

fit_length

Function fit_length 

Source
fn fit_length(raw: Vec<u8>, target: usize, width: usize) -> Vec<u8> ⓘ
Expand description

_fit_length: trim or pad with silence to exactly target bytes.