Constructor NativeKeyValueArrays
NativeKeyValueArrays(int, AllocatorHandle, NativeArrayOptions)
Initializes and returns an instance of NativeKeyValueArrays.
Declaration
public NativeKeyValueArrays(int length, AllocatorManager.AllocatorHandle allocator, NativeArrayOptions options)
Parameters
Type | Name | Description |
---|---|---|
int | length | The number of keys-value pairs. |
AllocatorManager.AllocatorHandle | allocator | The allocator to use. |
NativeArrayOptions | options | Whether newly allocated bytes should be zeroed out. |