fn index_of_last_non_whitespace(value: &ByteString) -> Option<usize>