#include <mmapio.h>
Public Methods | |
csMemoryMappedIO (unsigned _block_size, char *filename) | |
Block size is the size of blocks that you want to get from the file, filename is the name of the file to map. More... | |
~csMemoryMappedIO () | |
Destroys the mmapio object, closes open files, and releases memory. | |
void* | GetPointer (unsigned int index) |
This pointer will only be valid for a little while. More... |
|
Block size is the size of blocks that you want to get from the file, filename is the name of the file to map. Indexes will be resolved to absolute_index=index*block_size |
|
This pointer will only be valid for a little while. Read, at least until the next call to GetPointer. NEVER EVER EVER SAVE THIS POINTER. You must recall this pointer when you want access to the data again. |