rs2d 0.1.0

A crate for encoding and decoding data in a 2D Reed-Solomon matrix.
Documentation
1
2
3
4
5
6
7
8
9
#[macro_export]
macro_rules! owned_vec {
    ($data_matrix:expr) => {{
        $data_matrix
            .into_iter()
            .map(|f| f.iter().map(|f| f.to_vec()).collect::<Vec<Shard>>())
            .collect::<Vec<Vec<Shard>>>()
    }};
}