utf8Stream.write(data)


当创建流时将 options.contentMode 设置为 'utf8' 时,data 参数必须是字符串。如果 contentMode 设置为 'buffer',则 data 参数必须是 <Buffer>

¥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>.