method WritableBase.prototype.setDefaultEncoding
Jump to headingWritableBase.prototype.setDefaultEncoding(encoding: BufferEncoding): thisThe writable.setDefaultEncoding() method sets the default encoding for a Writable stream.
Parameters Jump to heading
Jump to headingencoding: BufferEncodingThe new default encoding
Return Type Jump to heading
this