The memory buffer already supported appending and prepending data, but not inserting data anywhere in the buffer. That's exactly what the new function does. The free space is still maintained at either the start or the end of the buffer.
The memory buffer already supported appending and prepending data, but not inserting data anywhere in the buffer. That's exactly what the new function does. The free space is still maintained at either the start or the end of the buffer.