Function decompress_file_with_progress

Source
pub fn decompress_file_with_progress<F>(
    reader: &mut File,
    writer: &mut File,
    progress: F,
) -> Result<(), Error>
where F: FnMut(Progress),
Expand description

Decompress a WUX file on disk, writing the resulting WUD to another file on disk and calling progress after each sector is written. This enables certain performance improvements (currently only implemented for Linux).