Reed-Solomon codec for 8-bit characters.
Based on libfec by Phil Karn, KA9Q.
Creates a new reed solomon instance.
Encodes data and writes result back into parity array.
Computes x % GF_SIZE, where GF_SIZE is 2**GF_BITS - 1, without a slow divide.
See Implementation
Reed-Solomon codec for 8-bit characters.
Based on libfec by Phil Karn, KA9Q.