setDefaultEncoding

The writable.setDefaultEncoding() method sets the default encoding for a Writable stream.

Since

v0.11.15

Parameters

encoding

The new default encoding