Method Pop
Pop<T>()
Removes and returns the last element of this append buffer.
Declaration
public T Pop<T>() where T : unmanaged
Returns
Type | Description |
---|---|
T | The element removed from the end of this append buffer. |
Type Parameters
Name | Description |
---|---|
T | The type of the element to remove. |
Remarks
It is your responsibility to specify the correct type. Do not pop when the append buffer is empty.
Pop(void*, int)
Removes and copies the last element of this append buffer.
Declaration
public void Pop(void* ptr, int structSize)
Parameters
Type | Name | Description |
---|---|---|
void* | ptr | The location to which the removed element will be copied. |
int | structSize | The size of the element to remove and copy. |
Remarks
It is your responsibility to specify the correct structSize
. Do not pop when the append buffer is empty.