pub fn create_random_file(
path: impl AsRef<Path>,
size: usize,
seed: u64,
) -> usizeExpand description
Creates or overwrites a single file in dir with size bytes of random data.
Panics on any I/O error. Returns the total number of bytes written (=size).