| Parameter | Description |
|---|---|
| ptr | A reference to a BlobArray field in a blob asset. |
| length | The number of elements to allocate. |
BlobBuilderArray<T> A reference to the newly allocated array as a mutable BlobBuilderArray instance.
Allocates enough memory to store length elements of struct T.
| Parameter | Description |
|---|---|
| ptr | A reference to a BlobArray field in a blob asset. |
| length | The number of elements to allocate. |
| alignment | The alignment of the allocated memory. |
BlobBuilderArray<T> A reference to the newly allocated array as a mutable BlobBuilderArray instance.
Allocates enough memory to store length elements of struct T.
| Parameter | Description |
|---|---|
| ptr | A reference to a blob pointer field in a blob asset. |
T A reference to the newly allocated struct.
Allocates enough memory to store a struct of type T.