Function xfind::find[][src]

pub fn find<R>(needle: &[u8], rdr: &mut R) -> Option<Result<usize>> where
    R: Read
Expand description

Returns the index of the first occurrence of the given needle in the stream.