-
Notifications
You must be signed in to change notification settings - Fork 656
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deprecate and replace ByteBuffer.set(buffer:at:) (#1078)
Motivation: In NIO2 we tried to adopt the Swift convention of avoiding functions that differ only by the word of their first label where that label is describing their type. Sadly, we missed one. Modifications: - Wrote setBuffer(_:at:) - Deprecated set(buffer:at:) in favour of the new function. Result: Users will get some deprecation warnings I guess.
- Loading branch information
Showing
2 changed files
with
14 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters