method WritableBase.prototype.setDefaultEncoding Usage in Denoimport { WritableBase } from "node:stream"; WritableBase.prototype.setDefaultEncoding(encoding: BufferEncoding): this The writable.setDefaultEncoding() method sets the default encoding for a Writable stream. Parameters encoding: BufferEncoding The new default encoding Return Type this