initialType
initialType: Uint8ArrayConstructor | Uint16ArrayConstructor | Uint32ArrayConstructor
The type of the initial empty TypedArray
created by the builder. For example, if you know that you will be adding values larger than
255 to the array, specify { initialType: Uint16Array }
to avoid replacing the otherwise default Uint8Array
when the first such value is added.
Default: Uint8Array
.
Defined in
Last Updated: 20 June, 2023