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

Usage in Deno

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

Parameters

encoding: BufferEncoding

Return Type

this
Back to top