Skip to main content
Go to Latest
interface TransformOptions
implements DuplexOptions
import { type TransformOptions } from "https://deno.land/std@0.114.0/node/_stream/transform.ts";

Properties

optional
writev: writeV
optional
flush: TransformFlush

Methods

optional
read(this: Transform, size: number): void
optional
write(
this: Transform,
chunk: any,
encoding: Encodings,
callback: (error?: Error | null) => void,
): void
optional
final(this: Transform, callback: (error?: Error | null) => void): void
optional
destroy(
this: Transform,
error: Error | null,
callback: (error: Error | null) => void,
): void
optional
transform(
this: Transform,
chunk: any,
encoding: Encodings,
callback: (error?: Error | null, data?: any) => void,
): void