Same Content
Determine whether data from different sources are the same.
Example
extern crate same_content;
use File;
use *;
assert!;
Change the Buffer Size
The default buffer size for the same_content_from_files
function and the same_content_from_readers
function is 256 bytes per stream. If you want to change that, you can use the same_content_from_files2
function or the same_content_from_readers2
function, and define a length explicitly.
For example, to change the buffer size to 4096 bytes,
extern crate same_content;
use File;
use *;
use U4096;
assert!;
Crates.io
https://crates.io/crates/same-content