mirror of
https://github.com/apple/swift-nio
synced 2026-11-25 04:47:49 +00:00
Motivation: Unsafe(Mutable)RawBufferPointers have a few APIs that make our code easier to reason about. In this PR I'm trying to introduce some of it. Modifications: Improved UnsafeRawBufferPointer usage Result: code easier to reason about which hopefully leads to fewer bugs. Also: In many cases we now get free bounds checking in debug mode, yay :).