pub fn byte_offset(text: &str, line: u32, character: u32) -> Option<u32>
The inverse of utf16_position: a line and UTF-16 character back to a byte offset.
utf16_position