Skip to main content

Interface: ResizeOptions

The options for buffer resizing.

Properties

PropertyTypeDescriptionDefined in
maxByteLength?numberThe maximum byte length of the buffer. Default undefinedbyte-stream-writer.ts:20
strategyResizeStrategyThe resize strategy. Default 'exponential'byte-stream-writer.ts:26
factornumberThe resize factor for exponential resizing. Default 2byte-stream-writer.ts:32
incrementnumberThe resize increment for additive resizing in bytes. Default 256byte-stream-writer.ts:38