methodfs.Utf8Stream.writewrite(data: string | Buffer<ArrayBufferLike>): boolean;When the options.contentMode is set to 'utf8' when the stream is created, the data argument must be a string. If the contentMode is set to 'buffer', the data argument must be a Buffer.@param dataThe data to write.
When the options.contentMode is set to 'utf8' when the stream is created, the data argument must be a string. If the contentMode is set to 'buffer', the data argument must be a Buffer.