Function xfind::rfind_iter[][src]

pub fn rfind_iter<'n, 's, R>(
    needle: &'n [u8],
    rdr: &'s mut R
) -> Result<FindRevIter<'n, 's, R>> where
    R: Read + Seek
Expand description

Returns a reverse iterator over all occurrences of the given needle in the stream.

Errors

Returns an I/O error if seeking to the end of the stream failed.

Panics

Panics if the length of the stream is greater than usize::MAX.