<!--
{
  "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/CIPDF417CodeDescriptor/errorCorrectedPayload-swift.property",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Core Image"
    ],
    "preciseIdentifier" : "c:objc(cs)CIPDF417CodeDescriptor(py)errorCorrectedPayload"
  },
  "title" : "errorCorrectedPayload"
}
-->

# errorCorrectedPayload

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

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

## Discussion

The first codeword indicates the number of data codewords in the errorCorrectedPayload.

PDF417 codes are comprised of a start character on the left and a stop character on the right.
Each row begins and ends with special characters indicating the current row as well as information
about the dimensions of the PDF417 symbol. The errorCorrectedPayload represents the sequence
of PDF417 codewords that make up the body of the message. The first codeword indicates the number
of codewords in the message. This count includes the “count” codeword and any padding codewords,
but does not include the error correction codewords. Each codeword is a 16-bit value in the range
of 0…928. The sequence is to be interpreted as described in the PDF417 bar code symbology
specification – ISO/IEC 15438:2006(E).

---

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)