-
Notifications
You must be signed in to change notification settings - Fork 296
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
codec: rpc: remove NewReadWriteCloser() and document and optimize ins…
…tead Instead of adding a new exposed type and NewReadWriteCloser(...) convenience function, just document how a user can create a buffered connection for use in rpc. Also, there is no downside to doing a buffer during write. There is only a downside during read. Consequently, we will use a buffer internally when passed a non-buffered ReadWriteCloser. Updates #216
- Loading branch information
Showing
4 changed files
with
56 additions
and
139 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
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