<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: 26.0.0 -",
    "macOS: 26.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: 26.0.0 -",
    "watchOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Network",
  "identifier" : "/documentation/Network/NetworkCoder",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "Network"
    ],
    "preciseIdentifier" : "s:7Network0A5CoderP"
  },
  "title" : "NetworkCoder"
}
-->

# NetworkCoder

```
protocol NetworkCoder : Sendable
```

## Topics

### Associated Types

[`associatedtype Decoder : NetworkDecoder`](/documentation/Network/NetworkCoder/Decoder)

[`associatedtype Encoder : NetworkEncoder`](/documentation/Network/NetworkCoder/Encoder)

### Initializers

[`init()`](/documentation/Network/NetworkCoder/init())

### Instance Methods

[`func makeDecoder() -> Self.Decoder`](/documentation/Network/NetworkCoder/makeDecoder())

Returns an instance of NetworkDecoder

[`func makeEncoder() -> Self.Encoder`](/documentation/Network/NetworkCoder/makeEncoder())

Returns an instance of NetworkEncoder

### Type Properties

[`static var json: NetworkJSONCoder`](/documentation/Network/NetworkCoder/json)

[`static var propertyList: NetworkPropertyListCoder`](/documentation/Network/NetworkCoder/propertyList)

## Relationships

### Inherits From

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Sendable`](/documentation/Swift/Sendable)

### Conforming Types

[`NetworkJSONCoder`](/documentation/Network/NetworkJSONCoder)

[`NetworkPropertyListCoder`](/documentation/Network/NetworkPropertyListCoder)

---

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)