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