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

# errorCorrectedPayload

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

## Declaration

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

## Discussion

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.

## See Also

### Examining a Descriptor

- [rowCount](coreimage/cidatamatrixcodedescriptor/rowcount-swift.property.md)
- [columnCount](coreimage/cidatamatrixcodedescriptor/columncount-swift.property.md)
- [eccVersion](coreimage/cidatamatrixcodedescriptor/eccversion-swift.property.md)
