Skip to main content
internal.Duplex.prototype.setDefaultEncoding - stream - Node documentation
method internal.Duplex.prototype.setDefaultEncoding

Usage in Deno

import { internal } from "node:stream";
Duplex.prototype.setDefaultEncoding(encoding: BufferEncoding): this

Parameters

encoding: BufferEncoding

Return Type

this