Function AllocatedBuffer.avail

size_t avail();

Returns

The number of unused elements that can be extended without needing to fetch more data from the allocator.