tsk-44 #47
@@ -9,7 +9,6 @@ pub mod test_util {
|
|||||||
|
|
||||||
use rand::Rng;
|
use rand::Rng;
|
||||||
|
|
||||||
|
|
||||||
// Function to save a Vec<u8> to a file
|
// Function to save a Vec<u8> to a file
|
||||||
pub fn save_bytes_to_file(bytes: &[u8], file_path: &String) -> io::Result<()> {
|
pub fn save_bytes_to_file(bytes: &[u8], file_path: &String) -> io::Result<()> {
|
||||||
let file = std::path::Path::new(file_path);
|
let file = std::path::Path::new(file_path);
|
||||||
|
|||||||
Reference in New Issue
Block a user