getCorrectedParameterData(parameterData, compact) {
			let numCodewords;
			let numDataCodewords;
			if (compact) {
				numCodewords = 7;
				numDataCodewords = 2;
			}
			else {
				numCodewords = 10;
				numDataCodewords = 4;
			}
			let numECCodewords = numCodewords - numDataCodewords;
			let parameterWords = new Int32Array(numCodewords);
			for (let i = numCodewords - 1; i >= 0; --i) {
				parameterWords[i] = parameterData & 0xF;
				parameterData >>= 4;
			}
			try {
				let rsDecoder = new ReedSolomonDecoder(GenericGF.AZTEC_PARAM);
				rsDecoder.decode(parameterWords, numECCodewords);
			}
			catch (ignored) {
				throw new NotFoundException();
			}
			// Toss the error correction.  Just return the data as an integer
			let result = 0;
			for (let i = 0; i < numDataCodewords; i++) {
				result = (result << 4) + parameterWords[i];
			}
			return result;
		}
Corrects the parameter bits using Reed-Solomon algorithm.

@param parameterData parameter bits
@param compact true if this is a compact Aztec code
@throws NotFoundException if the array contains too many errors