PcontentMode
Bun

property

fs.Utf8StreamOptions.contentMode

contentMode?: 'utf8' | 'buffer'

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