Skip to main content

char_index_from_byte_index

Function char_index_from_byte_index 

Source
pub fn char_index_from_byte_index(
    input: &str,
    byte_index: ByteIndex,
) -> CharIndex