public final class ReedSolomonEncoder extends Object
Implements Reed-Solomon enbcoding, as the name implies.
Modifier and Type | Field and Description |
---|---|
private ArrayList<GF256Poly> |
cachedGenerators |
private GF256 |
field |
Constructor and Description |
---|
ReedSolomonEncoder(GF256 field) |
Modifier and Type | Method and Description |
---|---|
private GF256Poly |
buildGenerator(int degree) |
void |
encode(int[] toEncode,
int ecBytes) |
private final ArrayList<GF256Poly> cachedGenerators
public ReedSolomonEncoder(GF256 field)
private GF256Poly buildGenerator(int degree)
public void encode(int[] toEncode, int ecBytes)
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses