Go to Latest
method Writable.prototype.setDefaultEncoding
import { Writable } from "https://dotland.deno.dev/std@0.177.0/node/stream.ts";

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

Parameters

encoding: BufferEncoding

The new default encoding