ZXing.Common.ReedSolomon.ReedSolomonEncoder.ReedSolomonEncoder C# (CSharp) 메소드

ReedSolomonEncoder() 공개 메소드

public ReedSolomonEncoder ( GenericGF field ) : System
field GenericGF
리턴 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 }));
        }