get_line_col_from_offset

Function get_line_col_from_offset 

Source
pub fn get_line_col_from_offset(data: &[u8], offset: usize) -> (usize, usize)
Expand description

Get line and column from a byte offset in content.