decode(detectorResult) {
			this.ddata = detectorResult;
			let matrix = detectorResult.getBits();
			let rawbits = this.extractBits(matrix);
			let correctedBits = this.correctBits(rawbits);
			let rawBytes = Decoder.convertBoolArrayToByteArray(correctedBits);
			let result = Decoder.getEncodedData(correctedBits);
			let decoderResult = new DecoderResult(rawBytes, result, null, null);
			decoderResult.setNumBits(correctedBits.length);
			return decoderResult;
		}
<p>The main class which implements Aztec Code decoding -- as opposed to locating and extracting
the Aztec Code from an image.</p>

@author David Olivier