Function reed_solomon_novelpoly::encode
source · pub fn encode<S: Shard>(bytes: &[u8], n_min: usize) -> Result<Vec<S>>
Expand description
Encode the given payload into n_min
shards.
The implementation can create more erasure chunks and drop some as needed due to the inherent impl. requirements on n
and k
.