pub fn byte_of_utf16(text: &str, utf16: u32) -> u32
The inverse: a UTF-16 offset back to a byte offset.