AllocAppender

Undocumented in source.

Constructors

this
this(IAllocator alloc, ElemType[] initial_buffer)
Undocumented in source.
this
this(RCIAllocator alloc, ElemType[] initial_buffer)
Undocumented in source.

Postblit

this(this)
this(this)
Undocumented in source.

Members

Aliases

ElemType
alias ElemType = Unqual!E
Undocumented in source.

Functions

append
void append(size_t delegate(scope ElemType[] dst) @(safe) del)
void append(size_t delegate(scope ElemType[] dst) del)

Appends a number of bytes in-place.

grow
void grow(size_t min_free)
Undocumented in source. Be warned that the author may not have intended to support it.
put
void put(E el)
Undocumented in source. Be warned that the author may not have intended to support it.
put
void put(ArrayType arr)
Undocumented in source. Be warned that the author may not have intended to support it.
put
void put(const(ElemType)[] arr)
Undocumented in source. Be warned that the author may not have intended to support it.
put
void put(dchar el)
Undocumented in source. Be warned that the author may not have intended to support it.
put
void put(dchar el)
Undocumented in source. Be warned that the author may not have intended to support it.
reserve
void reserve(size_t amount)

Grows the capacity of the internal buffer so that it can hold a minumum amount of elements.

reset
void reset(AppenderResetMode reset_mode)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

data
ArrayType data [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Meta