mirror of
https://github.com/apple/swift-nio
synced 2026-11-29 05:24:21 +00:00
Moving `PooledRecvBufferAllocator` from NIOPosix to NIOCore, making it part of its public interface. ### Motivation: We want to introduce the capability of reusing receiving buffers from a pool into swift-nio-transport-services project. To prevent duplicating this functionality there, this change is making the existing functionality from NIO part of its public API. ### Modifications: Moved the type `PooledRecvBufferAllocator` from NIOPosix module to NIOCore and turned it into a public type. ### Result: `PooledRecvBufferAllocator` is part of NIOCore public API. --------- Co-authored-by: George Barnett <gbarnett@apple.com>