mirror of
https://github.com/apple/swift-nio
synced 2026-11-25 04:47:49 +00:00
Motivation: Several arithmetic and comparison operations are done with `ByteCount` using the `bytes` property. Operating on the `ByteCount` type directly will be more convenient. Modifications: - Add `AdditiveArithmetic` and `Comparable` conformances to `ByteCount`. Result: The `ByteCount` type can undergo arithmetic and comparison operations. --------- Co-authored-by: George Barnett <gbarnett@apple.com>