Function reproto_core::utils::find_range [] [src]

pub fn find_range<'a, R: AsMut<Read + 'a>, S: Into<Span>>(
    reader: R,
    span: S,
    encoding: Encoding
) -> Result<(Position, Position)>

Find the range corresponding to the given position.