Sets the buffer size to s. If there are currently more than s bytes of data in the buffer, flush() is called before setting the size.
new buffer size
In: The new buffer size must not be 0.
See Implementation
Sets the buffer size to s. If there are currently more than s bytes of data in the buffer, flush() is called before setting the size.