Checks if enough free space from the current write cursor is available and reallocates if necessary.
Number of bytes that should be available
%TRUE if at least @size bytes are still available
See Implementation
Checks if enough free space from the current write cursor is available and reallocates if necessary.