basic_streambuf_ref::capacity
Get the current capacity of the dynamic buffer.
std::size_t capacity() const;