---
title: dannys42/swiftpacketprocessor
framework: Swift Package Catalog
role: article
path: packages/dannys42/swiftpacketprocessor
---

# dannys42/swiftpacketprocessor

The Swift `PacketProcessor` provides a simple, type-safe way of handling structured packets given a data stream.

## Installation

### Swift Package Manager Add the `PacketProcessor ` package to the dependencies within your application's `Package.swift` file.  Substitute "x.y.z" with the [latest PacketProcessor release](https://github.com/dannys42/SwiftPacketProcessor/releases).

```swift .package(url: "https://github.com/dannys42/SwiftPacketProcessor", from: "x.y.z") ```

Add `PacketProcessor` to your target's dependencies:

```swift .target(name: "example", dependencies: ["PacketProcessor"]), ```

## Package Metadata

Repository: dannys42/swiftpacketprocessor

Default branch: main

README: README.md
