toTypedArray Method
Obtain the finished array.
toTypedArray(includeUnusedCapacity: boolean = false): T
Parameter | Type | Description |
---|---|---|
includeUnusedCapacity | boolean | If true, the length of the returned array will be equal to TypedArrayBuilder.capacity, with extra bytes initialized to zero; otherwise, the returned array's length will be equal to TypedArrayBuilder.length. |
Returns - T
Defined in
Last Updated: 16 April, 2024
Found something wrong, missing, or unclear on this page?
Raise an issue in our repo.