I'm trying to set up a swap file for bitmaps of different sizes by using the MappedByteBuffer to memory map the file. I want to be able to move memory within this file, so maybe two sub-questions:
- Is there a way to tell the ByteBuffer to move chunks of memory to another index, or
- Is it possible to directly access the raw mapped memory to do the moving myself.