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