pub fn resparse_sparse_img<R: Read + Seek>(
    reader: &mut SparseReader<R>,
    dir: &Path,
    max_download_size: u64,
) -> Result<Vec<TempPath>>Expand description
Takes a provided reader and generates a set of temporary files in dir
in the Sparse image format. With the provided max_download_size
constraining file size.
ยงArguments
- reader- The Sparse Reader of a Sparse File
- dir- Path to the directory to write the Sparse file(s).
- max_download_size- Maximum size that can be downloaded by the device.