Also handle the case where multiple empty memory blocks are in the buffer. Add unit test for this.
Attach a file by drag & drop or click to upload