| Parameter | Description |
|---|---|
| ptr | An existing byte array to set as the internal buffer. |
| length | The length. |
Initializes and returns an instance of UnsafeList.
| Parameter | Description |
|---|---|
| initialCapacity | The initial capacity of the list. |
| allocator | The allocator to use. |
| options | Whether newly allocated bytes should be zeroed out. |
Initializes and returns an instance of UnsafeList.