---
title: errorCorrectedPayload
framework: coreimage
role: symbol
role_heading: Instance Property
path: coreimage/ciqrcodedescriptor/errorcorrectedpayload-swift.property
---

# errorCorrectedPayload

The error-corrected codeword payload that comprises the QR code symbol.

## Declaration

```swift
var errorCorrectedPayload: Data { get }
```

## Discussion

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.

## See Also

### Examining a Descriptor

- [symbolVersion](coreimage/ciqrcodedescriptor/symbolversion-swift.property.md)
- [maskPattern](coreimage/ciqrcodedescriptor/maskpattern-swift.property.md)
- [errorCorrectionLevel](coreimage/ciqrcodedescriptor/errorcorrectionlevel-swift.property.md)
