pub fn byte_of_utf16(text: &str, units: usize) -> usize
A UTF-16 offset back to a byte offset, clamped into the string.