mirror of
https://github.com/apple/swift-nio
synced 2026-11-24 04:37:54 +00:00
Motivation: We used an incorrect precondition and so it would be hit if someone tried to create a ByteBufferView add all bytes in a ByteBuffer. Modifications: Allow upperBound up to capacity Result: Fixes https://github.com/apple/swift-nio/issues/482.