pub fn utf16_offset(value: &str, byte_offset: usize) -> usize
Converts a byte offset in value to a UTF-16 code-unit offset.
value