<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.13.0 -",
    "tvOS: 11.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreImage",
  "identifier" : "/documentation/CoreImage/CIDataMatrixCodeDescriptor/errorCorrectedPayload-swift.property",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Core Image"
    ],
    "preciseIdentifier" : "c:objc(cs)CIDataMatrixCodeDescriptor(py)errorCorrectedPayload"
  },
  "title" : "errorCorrectedPayload"
}
-->

# errorCorrectedPayload

The error-corrected payload containing the data encoded in the Data Matrix code symbol.

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

## Discussion

DataMatrix symbols are specified bn ISO/IEC 16022:2006(E). ECC 200-type symbols will always
have an even number of rows and columns.

For ECC 200-type symbols, the phases of encoding data into a symbol are described in
section 5.1 – Encode procedure overview. The error corrected payload comprises the
de-interleaved bits of the message described at the end of Step 1: Data encodation.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)