Get the current capacity of the dynamic buffer.
std::size_t capacity() const;
The current total capacity of the buffer, i.e. for both the input sequence and output sequence.