Interface: ResizeOptions
The options for buffer resizing.
Properties
Property | Type | Description | Defined in |
---|---|---|---|
maxByteLength? | number | The maximum byte length of the buffer. Default undefined | buffer-writer.ts:18 |
strategy | ResizeStrategy | The resize strategy. Default 'exponential' | buffer-writer.ts:24 |
factor | number | The resize factor for exponential resizing. Default 2 | buffer-writer.ts:30 |
increment | number | The resize increment for additive resizing in bytes. Default 256 | buffer-writer.ts:36 |