mirror of
https://github.com/apple/swift-nio
synced 2026-11-25 04:47:49 +00:00
Motivation: Channel writes are a complex matter and it was even more complex when `FileRegion` and `ByteBuffer` were completely different kinds of objects. Now that they're more in line we can simplify a lot of things. Modifications: Rewrote the inner layers of channel writes to make them more readable and hopefully more correct. Result: hopefully fewer bugs.