ZXing.Common.ReedSolomon.ReedSolomonEncoder.ReedSolomonEncoder C# (CSharp) Method

ReedSolomonEncoder() public method

public ReedSolomonEncoder ( GenericGF field ) : System
field GenericGF
return System
        public ReedSolomonEncoder(GenericGF field)
        {
            if (!GenericGF.QR_CODE_FIELD_256.Equals(field))
             {
            throw new System.ArgumentException("Only QR Code is supported at this time");
             }
             this.field = field;
             this.cachedGenerators = new ArrayList();
             cachedGenerators.Add(new GenericGFPoly(field, new int[] { 1 }));
        }