---
title: "decode(_:)"
framework: swift
role: symbol
role_heading: Type Method
path: "swift/unicode/utf32/decode(_:)-swift.type.method"
---

# decode(_:)

Converts from encoded to encoding-independent representation

## Declaration

```swift
static func decode(_ source: Unicode.UTF32.EncodedScalar) -> Unicode.Scalar
```
