Public Member Functions | |
this (FileConduit host) | |
void | close () |
void | flush () |
Private Attributes | |
void * | base |
HANDLE | mmFile |
|
Construct a MappedBuffer upon the given FileConduit. One should set the file size using seek() & truncate() to setup the available working space. Definition at line 93 of file MappedBuffer.d. References MappedBuffer::host, FileConduit::length(), and Buffer::setValidContent(). |
|
Close this mapped buffer Definition at line 129 of file MappedBuffer.d. |
|
Flush dirty content out to the drive. This fails with error 33 if the file content is virgin. Opening a file for ReadWriteExists followed by a flush() will cause this. Definition at line 150 of file MappedBuffer.d. References MappedBuffer::host. |
|
Definition at line 82 of file MappedBuffer.d. |
|
Definition at line 83 of file MappedBuffer.d. |