zxingwp7.qrcode.decoder.ErrorCorrectionLevel.forBits C# (CSharp) 메소드

forBits() 공개 정적인 메소드

public static forBits ( int bits ) : ErrorCorrectionLevel
bits int int containing the two bits encoding a QR Code's error correction level ///
리턴 ErrorCorrectionLevel
        public static ErrorCorrectionLevel forBits(int bits)
        {
            if (bits < 0 || bits >= FOR_BITS.Length)
            {
                throw new ArgumentException();
            }
            return FOR_BITS[bits];
        }
    }