pub fn encode_parity(chunks: &[&[u8]], k: usize) -> Vec<Vec<u8>>Expand description
Compute k parity chunks from n equal-length data chunks.
Every chunk must be exactly the same length — the caller zero-pads the short final one and carries its true length in the wire header.