Get the maximum size of the dynamic buffer.
std::size_t max_size() const;
DynamicBuffer_v1: The allowed maximum of the sum of the sizes of the input sequence and output sequence. DynamicBuffer_v2: The allowed maximum size of the underlying memory.