mirror of
https://github.com/apple/swift-nio
synced 2026-11-30 05:28:44 +00:00
Motivation: ByteBuffer._ensureAvailableCapacity is quite complicated and the code can be simplified by re-using existing code. Modifications: reuse more existing code Result: ByteBuffer code easier to understand