rs_reconstruct

Function rs_reconstruct 

Source
pub fn rs_reconstruct(
    shards_in: Vec<Option<Vec<u8>>>,
    data_shards: usize,
    parity_shards: usize,
) -> Result<Vec<u8>>
Expand description

Attempt to reconstruct data from a subset of shards (some can be None).