static willFit(numInputBits /*int*/, version, ecLevel) {
			// In the following comments, we use numbers of Version 7-H.
			// numBytes = 196
			const numBytes = version.getTotalCodewords();
			// getNumECBytes = 130
			const ecBlocks = version.getECBlocksForLevel(ecLevel);
			const numEcBytes = ecBlocks.getTotalECCodewords();
			// getNumDataBytes = 196 - 130 = 66
			const numDataBytes = numBytes - numEcBytes;
			const totalInputBytes = (numInputBits + 7) / 8;
			return numDataBytes >= totalInputBytes;
		}
@return true if the number of input bits will fit in a code with the specified version and
error correction level.