Get the maximum size of the basic_streambuf.
basic_streambuf
std::size_t max_size() const;
The allowed maximum of the sum of the sizes of the input sequence and output sequence.