mirror of
https://github.com/apple/swift-nio
synced 2026-11-24 04:37:54 +00:00
Motivation: The `BufferedWriter` in `NIOFileSystem` has API in terms of `some Sequence<UInt8>`, meaning that you need to pass `byteBuffer.readableBytesView` which is a bit inconvenient. Modifications: - Add overloads which allow you to pass `ByteBuffer` directly - Remove redundant availability guards; they are already applied to the type Result: - Better API for users - Resolves #2662