trim_to_tail

Function trim_to_tail 

Source
fn trim_to_tail(buf: &mut Vec<u8>, cap: usize)
Expand description

Drop all but the last cap bytes of buf.