public ReedSolomonEncoder(GF256 field) {
if (!GF256.QR_CODE_FIELD.Equals(field)) {
throw new ArgumentException("Only QR Code is supported at this time");
}
this.field = field;
this.cachedGenerators = new List<GF256Poly>();
cachedGenerators.Add(new GF256Poly(field, new int[] { 1 }));
}