[][src]Macro reed_solomon_erasure::shards

macro_rules! shards {
    (
        $( [ $( $x:expr ),* ] ),*
    ) => { ... };
}

Constructs vector of shards.

Example

let shards: Vec<Vec<u8>> = shards!([1, 2, 3],
                                   [4, 5, 6]);