mirror of
https://github.com/apple/swift-nio
synced 2026-11-25 04:47:49 +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.