-
-
Notifications
You must be signed in to change notification settings - Fork 34.3k
Closed
Labels
docIssues and PRs related to the documentations.Issues and PRs related to the documentations.good first issueIssues that are suitable for first-time contributors.Issues that are suitable for first-time contributors.netIssues and PRs related to the net subsystem.Issues and PRs related to the net subsystem.
Description
The documentation at:
...does not describe what all of the supported encodings are (there are more than just 'UTF8' and 'hex'), nor does it link to any further documentation on them. Also, this documentation refers to "setEncoding(null)" as the recommended approach for binary streams, which is incorrect and does not work (this defaults to UTF8 encoding). There also appears to be an undocumented or semi-documented 'binary' encoding.
On the other hand, the documentation for use of encodings on Buffer objects is comprehensive and informative:
Reported in comment #11316 (comment) by @RickBullotta, I have not verified setEncoding(null) not working.
- Version: all
- Platform: not relevant
- Subsystem: doc, net
Metadata
Metadata
Assignees
Labels
docIssues and PRs related to the documentations.Issues and PRs related to the documentations.good first issueIssues that are suitable for first-time contributors.Issues that are suitable for first-time contributors.netIssues and PRs related to the net subsystem.Issues and PRs related to the net subsystem.