This crate provides an encoder/decoder for Reed-Solomon erasure code.
Please note that erasure coding means errors are not directly detected or corrected, but missing data pieces(shards) can be reconstructed given that the configuration provides high enough redundancy.
You will have to implement error detection separately(e.g. via checksums) and simply leave out the corrupted shards when attempting to reconstruct the missing data.
Makes it easier to work with 2D slices, arrays, etc.
Constructs a shard.
Constructs vector of shards.
Reed-Solomon erasure code encoder/decoder.
Bookkeeper for shard by shard encoding.
Parameters for parallelism.
Makes shard with byte array filled with zeros of some length.
Makes shard with byte array of zero length.
Transforms vector of option shards into vector of shards.
Transforms slice of option shards to vector of shards.
Transforms vector of shards into vector of option shards.
Transforms slice of shards to vector of option shards.
Convenience data type provided by this library.