Skip to main content

split

Function split 

Source
pub(crate) fn split(total: u64, connections: usize) -> Vec<Part>
Expand description

A file of total bytes split into at most connections parts of nearly equal size, none smaller than MIN_PART_SIZE unless the whole file is.