get New Size
Calculate the new size of the ring buffer.
Return
A new size, which should be >= requested.
Parameters
requested
The requested size for this upload.
current
The current buffer size, or 0 if uninitialized.
Calculate the new size of the ring buffer.
A new size, which should be >= requested.
The requested size for this upload.
The current buffer size, or 0 if uninitialized.