(path: P)
| 320 | } |
| 321 | |
| 322 | pub fn uncompress_file<P: AsRef<Path>>(path: P) -> std::io::Result<()> { |
| 323 | let file = std::fs::File::open(path)?; |
| 324 | uncompress_file_handle(&file) |
| 325 | } |
| 326 | |
| 327 | pub fn uncompress_file_handle(file: &std::fs::File) -> std::io::Result<()> { |
| 328 | let mut bytes_returned: DWORD = 0; |