Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions doc/stream.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -414,8 +414,9 @@ hexadecimal string format.

This properly handles multi-byte characters that would otherwise be
potentially mangled if you simply pulled the Buffers directly and
called `buf.toString(encoding)` on them. If you want to read the data
as strings, always use this method.
called `buf.toString(encoding)` on them. Also you can disable
any encoding at all with `readable.setEncoding(null)`.
If you want to read the data as strings, always use this method.

```javascript
var readable = getReadableStreamSomehow();
Expand Down