freeBlocks

fun freeBlocks(num: Int): Int

Removes the given number of int blocks from the buffer if possible.

Return

the number of actually removed buffers

Parameters

num

the number of int blocks to remove