Skip to main content

same_content_from_readers

Function same_content_from_readers 

Source
pub fn same_content_from_readers(
    a: &mut dyn Read,
    b: &mut dyn Read,
) -> Result<bool, Error>
Expand description

Determines whether two readers have the same remaining content using the default buffer size.

Reading starts at each reader’s current position.