| Parameter | Description |
|---|---|
| initialCapacity | The initial allocation size in bytes of the internal buffer. |
| alignment | The byte alignment of the allocation. Must be a non-zero power of 2. |
| allocator | The allocator to use. |
Initializes and returns an instance of UnsafeAppendBuffer.
| Parameter | Description |
|---|---|
| ptr | The buffer to alias. |
| length | The length in bytes of the buffer. |
Initializes and returns an instance of UnsafeAppendBuffer that aliases an existing buffer.
The capacity will be set to length, and UnsafeAppendBuffer.Length will be set to 0.