Skip to main content
Go to Latest
interface WritableOptions
implements StreamOptions<Writable>
import { type WritableOptions } from "https://deno.land/std@0.177.0/node/_stream.d.ts";

Properties

optional
decodeStrings: boolean | undefined
optional
defaultEncoding: BufferEncoding | undefined

Methods

optional
write(
this: Writable,
chunk: any,
encoding: BufferEncoding,
callback: (error?: Error | null) => void,
): void
optional
writev(
this: Writable,
chunks: Array<{ chunk: any; encoding: BufferEncoding; }>,
callback: (error?: Error | null) => void,
): void
optional
final(this: Writable, callback: (error?: Error | null) => void): void