SegmentBuilder

Undocumented in source.

Constructors

this
this(ByteBuffer buf, Arena arena)
Undocumented in source.

Alias This

reader

Members

Functions

allocate
size_t allocate(size_t amount)

Allocate amount words.

asReader
SegmentReader* asReader()
Undocumented in source. Be warned that the author may not have intended to support it.
currentSize
size_t currentSize()

Returns how many words have already been allocated.

getArena
BuilderArena getArena()
Undocumented in source. Be warned that the author may not have intended to support it.
isWritable
bool isWritable()
Undocumented in source. Be warned that the author may not have intended to support it.
put
void put(int index, long value)
Undocumented in source. Be warned that the author may not have intended to support it.

Static variables

FAILED_ALLOCATION
int FAILED_ALLOCATION;
Undocumented in source.

Variables

id
int id;
Undocumented in source.
pos
size_t pos;
Undocumented in source.
reader
SegmentReader reader;
Undocumented in source.

Meta