byte_index_to_position

Function byte_index_to_position 

Source
pub fn byte_index_to_position<'a, F>(
    files: &'a F,
    file_id: F::FileId,
    byte_index: usize,
) -> Result<Position, Error>
where F: Files<'a> + ?Sized,