pub fn rtrim_char_slice(slc: &[u8], c: u8) -> (&[u8], usize)
Trim character from the end (right-side) of a slice.