Arena

Members

Functions

back
T back()
Undocumented in source. Be warned that the author may not have intended to support it.
byteLength
size_t byteLength()
Undocumented in source. Be warned that the author may not have intended to support it.
clear
void clear()
Undocumented in source. Be warned that the author may not have intended to support it.
committedBytes
size_t committedBytes()
Undocumented in source. Be warned that the author may not have intended to support it.
contains
bool contains(void* ptr)
Undocumented in source. Be warned that the author may not have intended to support it.
data
inout(T[]) data()
Undocumented in source. Be warned that the author may not have intended to support it.
empty
bool empty()
Undocumented in source. Be warned that the author may not have intended to support it.
free
void free(T[] array)
Undocumented in source. Be warned that the author may not have intended to support it.
makeSpace
void makeSpace(size_t items)
Undocumented in source. Be warned that the author may not have intended to support it.
nextPtr
T* nextPtr()
Undocumented in source. Be warned that the author may not have intended to support it.
opIndex
T opIndex(size_t at)
Undocumented in source. Be warned that the author may not have intended to support it.
pad
void pad(size_t bytes)
Undocumented in source. Be warned that the author may not have intended to support it.
padUntilAligned
void padUntilAligned(size_t alignment)
Undocumented in source. Be warned that the author may not have intended to support it.
put
T[] put(T[] items)
Undocumented in source. Be warned that the author may not have intended to support it.
put
T[] put(R itemRange)
Undocumented in source. Be warned that the author may not have intended to support it.
put
void put(V value)
Undocumented in source. Be warned that the author may not have intended to support it.
setBuffer
void setBuffer(ubyte[] reservedBuffer)
Undocumented in source. Be warned that the author may not have intended to support it.
setBuffer
void setBuffer(ubyte[] reservedBuffer, size_t committedBytes)
Undocumented in source. Be warned that the author may not have intended to support it.
stealthPut
void stealthPut(T item)
Undocumented in source. Be warned that the author may not have intended to support it.
uintLength
uint uintLength()
Undocumented in source. Be warned that the author may not have intended to support it.
unput
void unput(size_t numItems)
Undocumented in source. Be warned that the author may not have intended to support it.
voidPut
T[] voidPut(size_t howMany)

Increases length and returns void-initialized slice to be filled by user

Manifest constants

COMMIT_PAGE_SIZE
enum COMMIT_PAGE_SIZE;
Undocumented in source.

Variables

bufPtr
T* bufPtr;
Undocumented in source.
capacity
size_t capacity;

How many items can be stored without commiting more memory (committed items)

length
size_t length;

Number of items in the buffer. length <= capacity

reservedBytes
size_t reservedBytes;

Total reserved bytes

Meta