Function SegmentedBuffer.this

Creates an empty buffer.

this(
  size_t segmentSize,
  size_t maximumLength
);

segmentSize is the preferred maximum size of each independently stored chunk. maximumLength is the maximum number of live elements the buffer can hold. No backing segment is acquired until the first successful append.

segmentSize must be non-zero. A zero maximumLength creates a valid permanently full, empty buffer that accepts no input.