Skip to main content

position_to_offset

Function position_to_offset 

Source
pub fn position_to_offset(src: &str, line: usize, character: usize) -> usize
Expand description

Position to byte offset.