PmaxLength
Bun

property

fs.Utf8StreamOptions.maxLength

maxLength?: number

The maximum length of the internal buffer. If a write operation would cause the buffer to exceed maxLength, the data written is dropped and a drop event is emitted with the dropped data