23 #ifndef __ccxx_MemoryMappedFile_hxx 24 #define __ccxx_MemoryMappedFile_hxx 65 void open(uint64_t size = 0,
bool readOnly =
false);
77 void sync(
bool async =
false);
95 #ifdef CCXX_OS_WINDOWS 105 #endif // __ccxx_MemoryMappedFile_hxx
const byte_t * getBase() const
Get a pointer to the base of the mapped memory segment.
Definition: MemoryMappedFile.h++:84
int FileHandle
Definition: Common.h++:225
byte_t * getBase()
Get a pointer to the base of the mapped memory segment.
Definition: MemoryMappedFile.h++:80
An abstraction of a memory-mapped file.
Definition: MemoryMappedFile.h++:37
#define COMMONCPP_API
Definition: Common.h++:126
A flexible, reference counted, copy-on-write, thread-safe, nullable string.
Definition: String.h++:50
uint64_t getSize() const
Get the size of the memory mapped segment, in bytes.
Definition: MemoryMappedFile.h++:88
Definition: AllocationMap.c++:25
unsigned char byte_t
An unsigned 8-bit value.
Definition: Integers.h++:68