errorCorrectedPayload
The error-corrected codeword payload that comprises the QR code symbol.
Declaration
var errorCorrectedPayload: Data { get }Discussion
QR Codes are formally specified in ISO/IEC 18004:2006(E). Section 6.4.10 “Bitstream to codeword conversion” specifies the set of 8-bit codewords in the symbol immediately prior to splitting the message into blocks and applying error correction.
During decode, error correction is applied and if successful, the message is re-ordered to the state immediately following “Bitstream to codeword conversion.”
The errorCorrectedPayload corresponds to this sequence of 8-bit codewords.