pub fn missing_blocks(
size: u64,
block_size: u64,
received: &[(u64, u64)],
) -> Vec<u32>Expand description
The block indices of size-byte file at block_size that are NOT covered
by received ranges — the “transfer queue” a sender seeds on resume so it
only retransmits the broken/lost parts.