Method Resize
Resize(int, NativeArrayOptions)
Sets the length, expanding the capacity if necessary.
Declaration
public void Resize(int length, NativeArrayOptions options = NativeArrayOptions.UninitializedMemory)
Parameters
Type | Name | Description |
---|---|---|
int | length | The new length. |
NativeArrayOptions | options | Whether newly allocated bytes should be zeroed out. |