此方法现在返回对 writable 的引用。
writable
新增于: v0.11.15
encoding <string> 新的默认编码
encoding
¥encoding <string> The new default encoding
返回:<this>
¥Returns: <this>
writable.setDefaultEncoding() 方法为 Writable 流设置默认的 encoding。
writable.setDefaultEncoding()
Writable
¥The writable.setDefaultEncoding() method sets the default encoding for a Writable stream.