// Generates a new tmp file and populates it with random bytes.
Generates a new tmp file and populates it with random bytes.
Generates a new tmp file and populates it with random bytes .
pub fn new_random_file(n: usize) -> PathBuf {
    let fname = get_tmp_fname("upenc");
    create_test_file(&fname, &random_vec(n));
    fname
}
pub fn new_random_file ( n : usize ) -> PathBuf { let fname = get_tmp_fname ( " " ) ; create_test_file ( & fname , & random_vec ( n ) ) ; fname }
Generates a new tmp file and populates it with random bytes.
Generates a new tmp file and populates it with random bytes .
n
usize