vapor / multipart-kit

🏞 Parses and serializes multipart-encoded data with Codable support.
MIT License
139 stars 41 forks source link

Add `FormDataDecoder.decode` with `ByteBuffer` parameter #76

Closed adam-fowler closed 3 years ago

adam-fowler commented 3 years ago

Add FormDataDecoder.decode with ByteBuffer parameter and use this function in the other decode functions. This avoids unnecessary conversions from ByteBuffer to [UInt8] and back.

Add FormDataDecoder.decode with ByteBuffer parameter

Resolves #75

VaporBot commented 3 years ago

These changes are now available in 4.5.0