Which type of data you can send to the write function, supported values are 'utf8' or 'buffer'.
'utf8'
'buffer'