pub fn byte_index(text: &str, utf16: usize) -> Option<usize>
JavaScript string index (UTF-16 code units) -> byte offset, or None inside a character.
None