mirror of
https://github.com/apple/swift-nio-extras.git
synced 2025-05-14 08:52:42 +08:00
* Adds a line-based frame decoder that can split received buffers on line endings. Motivation: As per https://github.com/apple/swift-nio/issues/473 Modifications: Added a new decoder (LineBasedFrameDecoder) that splits incoming buffers on line end characters. Result: Received buffers will be split on line end character(s) ('\n' or '\r\n'), with these characters stripped in the resulting buffers.