method internal.DuplexOptions.writeDuplexOptions.write(this: Duplex,chunk: any,encoding: BufferEncoding,callback: (error?: Error | null) => void,): voidDeprecatedParametersthis: Duplexchunk: anyencoding: BufferEncodingcallback: (error?: Error | null) => voidReturn Typevoid