AnimalCrossingQR.StructuredAppendQR.GetSmallestVersion C# (CSharp) 메소드

GetSmallestVersion() 개인적인 정적인 메소드

private static GetSmallestVersion ( int size, ErrorCorrectionLevel errorCorrectionLevel ) : int
size int
errorCorrectionLevel ZXing.QrCode.Internal.ErrorCorrectionLevel
리턴 int
        private static int GetSmallestVersion(int size, ErrorCorrectionLevel errorCorrectionLevel)
        {
            return Array.FindIndex(MaxQRSize[errorCorrectionLevel.ordinal()], i => i >= size) + 1;
        }