Function RingBuffer.avail

size_t avail();

Returns

The number of unused elements that can be extended without needing to reallocate the buffer.