BuilderArena

Undocumented in source.

Constructors

this
this(int firstSegmentSizeWords, AllocationStrategy allocationStrategy)
Undocumented in source.

Members

Enums

AllocationStrategy
enum AllocationStrategy
Undocumented in source.

Functions

allocate
AllocateResult allocate(int amount)
Undocumented in source. Be warned that the author may not have intended to support it.
checkReadLimit
void checkReadLimit(int numBytes)
Undocumented in source. Be warned that the author may not have intended to support it.
getSegment
SegmentBuilder* getSegment(int id)
Undocumented in source. Be warned that the author may not have intended to support it.
getSegmentsForOutput
ByteBuffer[] getSegmentsForOutput()
Undocumented in source. Be warned that the author may not have intended to support it.
tryGetSegment
SegmentReader* tryGetSegment(int id)
Undocumented in source. Be warned that the author may not have intended to support it.

Manifest constants

SUGGESTED_ALLOCATION_STRATEGY
enum SUGGESTED_ALLOCATION_STRATEGY;
Undocumented in source.
SUGGESTED_FIRST_SEGMENT_WORDS
enum SUGGESTED_FIRST_SEGMENT_WORDS;
Undocumented in source.

Structs

AllocateResult
struct AllocateResult
Undocumented in source.

Variables

allocationStrategy
AllocationStrategy allocationStrategy;
Undocumented in source.
nextSize
int nextSize;
Undocumented in source.
segments
Appender!(SegmentBuilder[]) segments;
Undocumented in source.

Inherited Members

From Arena

tryGetSegment
SegmentReader* tryGetSegment(int id)
Undocumented in source.
checkReadLimit
void checkReadLimit(int numBytes)
Undocumented in source.

Meta