mirror of
https://github.com/apple/swift-nio
synced 2026-11-27 05:04:22 +00:00
Motivation: We can allocate the buffer on the fly if needed, no need to add the constructor argument. Modifications: Just allocate the buffer in the methods itself that need it. Result: Easier to construct encoder and cleaner code.