method internal.Duplex.prototype.writeDuplex.prototype.write(chunk: any,encoding?: BufferEncoding,cb?: (error: Error | null | undefined) => void,): booleanDeprecatedParameterschunk: anyoptionalencoding: BufferEncodingoptionalcb: (error: Error | null | undefined) => voidReturn TypebooleanDuplex.prototype.write(chunk: any,cb?: (error: Error | null | undefined) => void,): booleanDeprecatedParameterschunk: anyoptionalcb: (error: Error | null | undefined) => voidReturn Typeboolean