---
title: "decodeAtomicRepresentation(_:)"
framework: synchronization
role: symbol
role_heading: Type Method
path: "synchronization/wordpair/decodeatomicrepresentation(_:)"
---

# decodeAtomicRepresentation(_:)

Recovers the logical atomic type Self by destroying some AtomicRepresentation storage instance returned from an atomic operation.

## Declaration

```swift
static func decodeAtomicRepresentation(_ representation: consuming WordPair.AtomicRepresentation) -> WordPair
```

## Return Value

Return Value The newly decoded logical type Self.

## Discussion

Discussion note: This is not an atomic operation. This simply decodes the storage representation used in atomic operations back into the logical type for normal use, Self.
