I have some basic questions about the MemoryBlock class, this might just be that I don’t understand the concept yet.
Is there a way to “reset” or “clear” a memoryblock?
It seems to me that the MemoryBlock can only grow in size. So if I have a memoryblock of some data, and then want to write something else in to it, how do I get rid of the old data first?
There is clearly something I’m missing here.