Function offset_for_position

Source
pub fn offset_for_position(input: &[u8], position: Point) -> Result<usize>