ByteWriter.ensureFreeSpace
bool ensureFreeSpace(uint size)Checks if enough free space from the current write cursor is available and reallocates if necessary.
Parameters
size | Number of bytes that should be available |
Returns
true if at least size bytes are still available