Struct AllocAppender
struct AllocAppender(ArrayType, E)
;
Constructors
Name | Description |
---|---|
this
(alloc, initial_buffer)
|
|
this
(alloc, initial_buffer)
|
Fields
Name | Type | Description |
---|---|---|
m_alloc
|
IAllocator | |
m_allocatedBuffer
|
bool | |
m_data
|
AllocAppender | |
m_rcAlloc
|
RCIAllocator | |
m_remaining
|
AllocAppender |
Properties
Name | Type | Description |
---|---|---|
data [get]
|
ArrayType |
Methods
Name | Description |
---|---|
append
(del)
|
Appends a number of bytes in-place. |
grow
(min_free)
|
|
put
(el)
|
|
put
(arr)
|
|
put
(arr)
|
|
put
(el)
|
|
put
(el)
|
|
reserve
(amount)
|
Grows the capacity of the internal buffer so that it can hold a minumum amount of elements. |
reset
(reset_mode)
|
|
withAlloc
(args)
|
Aliases
Name | Description |
---|---|
ElemType
|