/* * rs.c * * Created on: Sep 14, 2017 * Author: root */ #include "rs.h" void rs_encode(void *code,char *data[],int size) { int k=get_k(code); int n=get_n(code); for(int i=k;i