pub(crate) fn dump_process_to_bytearray( pid: u32, output_dir: &Path, output_name: &Path, ) -> Result<u64>