MemoryBlock: Added a new replaceAll() method and deprecated the replaceWith() method
When passing in valid data with zero size, replaceWith() will do nothing and leave the MemoryBlock in its previous state which may be unexpected. replaceAll() will reset the MemoryBlock and resize it to 0
Please register or sign in to comment