Beispiel #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ReedSolomonEncoder"/> class.
 /// </summary>
 /// <param name="field">A <see cref="GenericGF"/> that represents the Galois field to use</param>
 public ReedSolomonEncoder(GenericGF field)
 {
     this.field            = field;
     this.cachedGenerators = new List <GenericGFPoly>();
     cachedGenerators.Add(new GenericGFPoly(field, new int[] { 1 }, true));
 }