internal static int GetBCHTypeNumber(int data) { int dataInt = data << 12; while (QRUtil.GetBCHDigit(dataInt) - QRUtil.GetBCHDigit(7973) >= 0) { dataInt ^= 7973 << QRUtil.GetBCHDigit(dataInt) - QRUtil.GetBCHDigit(7973); } return(data << 12 | dataInt); }
internal static int GetBCHTypeInfo(int data) { int dataInt = data << 10; int num2; while ((num2 = QRUtil.GetBCHDigit(dataInt) - QRUtil.GetBCHDigit(1335)) >= 0) { dataInt ^= Convert.ToInt32(1335) << num2; } return((data << 10 | dataInt) ^ 21522); }