diff --git a/doc/api/stream.markdown b/doc/api/stream.markdown index 4f8be5025cf4b1..085b88677ceec5 100644 --- a/doc/api/stream.markdown +++ b/doc/api/stream.markdown @@ -416,6 +416,10 @@ 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. +Also you can disable any encoding at all with `readable.setEncoding(null)`. +This approach is very useful if you deal with binary data or with large +multi-byte strings spread out over multiple chunks. + ```js var readable = getReadableStreamSomehow(); readable.setEncoding('utf8');