| Parameter | Description |
|---|---|
| length | The number of elements to allocate. |
| allocator | The Allocator to use for the data. |
Creates a new array and allocates enough memory to fit the provided number of elements.
| Parameter | Description |
|---|---|
| length | The number of elements to allocate. |
| memoryLabel | The MemoryLabel to allocate under. |
Creates a new array and allocates enough memory to fit the provided number of elements, using the specified memory label.