pub fn frame_redundant(
msg_id: u64,
payload: &[u8],
k: usize,
n: usize,
) -> Option<Vec<Vec<u8>>>Expand description
Split a message into n self-describing FEC shards (k data + n − k parity),
each independently transmittable. A receiver reconstructs the exact message from
ANY k via reconstruct_redundant. msg_id groups a message’s shards on the wire.