# \#bytes

**URL:** https://forums.swift.org/tag/bytes/737.md

[Latest](https://forums.swift.org/latest.md) · [Categories](https://forums.swift.org/categories.md) · [Tags](https://forums.swift.org/tags.md)

---

## [\[Pitch\] Data Manipulation with Spans](https://forums.swift.org/t/pitch-data-manipulation-with-spans/87952)

<div class="topic-metadata">

**Author:** [@jmschonfeld](https://forums.swift.org/u/jmschonfeld)\
**Replies:** 3\
**Last updated:** [July 6, 2026, 11:28pm UTC](https://forums.swift.org/t/pitch-data-manipulation-with-spans/87952 "2026-07-06T23:28:05Z")

</div>

Hi Swift community! I have a a new pitch for adding APIs to Data that mirror those of the new UniqueArray type that allow for manipulating its contents via the various span types (as opposed to generic Collections or un…

---

## [\[Discussion\] Bag of Bytes Types](https://forums.swift.org/t/discussion-bag-of-bytes-types/86983)

<div class="topic-metadata">

**Author:** [@jmschonfeld](https://forums.swift.org/u/jmschonfeld)\
**Replies:** 33\
**Last updated:** [July 3, 2026, 11:21am UTC](https://forums.swift.org/t/discussion-bag-of-bytes-types/86983 "2026-07-03T11:21:49Z")

</div>

Hi everyone, For Swift 6.4, I’ve spent a fair amount of time working on bag of bytes types (including Data in particular). Based on community feedback and some performance investigations, Data has now gained some fairly…

---

## [BytePattern a linear time byte pattern finder and set of XCTest assertions](https://forums.swift.org/t/bytepattern-a-linear-time-byte-pattern-finder-and-set-of-xctest-assertions/60229)

<div class="topic-metadata">

**Author:** [@Sajjon](https://forums.swift.org/u/Sajjon)\
**Replies:** 3\
**Last updated:** [September 12, 2022, 5:46am UTC](https://forums.swift.org/t/bytepattern-a-linear-time-byte-pattern-finder-and-set-of-xctest-assertions/60229 "2022-09-12T05:46:07Z")

</div>

I present BytePattern - a linear time byte pattern finder. It is a small library to help identifying that two byte sequence "probably" are equal to each other, but where programmer (me me me) have got some small detail w…
