SimpleVector

Vector for byte data. Simpler than standard template-based implementation designed for better performance. \ Rellocates 1024 elements at once instead of doubling size.

Destructor

~this
~this()
Undocumented in source.

Postblit

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

Members

Functions

add
void add(ubyte el)

Add element to vector

add
void add(ubyte[] el)

Add array of elements to vector

clear
void clear()

set vector length to 0

length
size_t length()

Return vector length

opDollar
size_t opDollar()
Undocumented in source. Be warned that the author may not have intended to support it.
opIndex
ubyte opIndex(size_t pos)
Undocumented in source. Be warned that the author may not have intended to support it.
opSlice
ubyte[] opSlice()
Undocumented in source. Be warned that the author may not have intended to support it.
opSlice
ubyte[] opSlice(size_t x, size_t y)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

data
ubyte[] data;
Undocumented in source.
used
size_t used;
Undocumented in source.

Meta