split_image

Function split_image 

Source
pub fn split_image(
    header: &FileHeader,
    chunks: &[ChunkHeader],
    size: u32,
) -> Result<Vec<Split>, SplitError>
Expand description

Split an existing sparse image based on its file header and chunks into multiple splits fitting into the given size