method WritableBase.prototype.setDefaultEncodingWritableBase.prototype.setDefaultEncoding(encoding: BufferEncoding): thisDeprecatedThe writable.setDefaultEncoding() method sets the default encoding for a Writable stream. Parametersencoding: BufferEncodingThe new default encoding Return Typethis