-
Notifications
You must be signed in to change notification settings - Fork 30.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
streams: readable.setEncoding vs writable.setDefaultEncoding #5013
Comments
The writable stream uses Feel free to open a PR for Thanks! |
This would have probably made for a good |
ah, good point. My bad |
Let this function return `this` for parity with `readable.setEncoding()`. PR-URL: nodejs#5040 Fixes: nodejs#5013 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Calvin Metcalf <calvin.metcalf@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Is there a reason why these two do not match each other in method name, and shouldn't they both return this?
The text was updated successfully, but these errors were encountered: