Inheritance diagram for VersionMapped::MappedFile:
Private Member Functions | |
this () | |
void | close () |
void | flush () |
void | setPosition (uint position) |
long | seek (long offset, ISeekable.SeekAnchor anchor) |
uint | writable () |
protected void | copy (void *src, uint size) |
int | write (int(*dg)(void[])) |
IBuffer | compress () |
IBuffer | clear () |
void | setConduit (IConduit conduit) |
Classes | |
class | VersionPosix |
class | VersionWin32 |
|
Construct an empty MappedBuffer |
|
Close this mapped buffer |
|
Flush any dirty content out to the drive Reimplemented from Buffer. |
|
Set the read/write position |
|
Seek to the specified position within the buffer, and return the byte offset of the new location (relative to zero). |
|
Return count of writable bytes available in buffer. This is calculated simply as capacity() - limit() Reimplemented from Buffer. |
|
Bulk copy of data from 'src'. Position is adjusted by 'size' bytes. Reimplemented from Buffer. |
|
Exposes the raw data buffer at the current write position, The delegate is provided with a void[] representing space available within the buffer at the current write position. The delegate should return the appropriate number of bytes if it writes valid content, or IConduit.Eof on error. Returns whatever the delegate returns. Reimplemented from Buffer. Definition at line 781 of file Buffer.d. References assert(). |
|
Prohibit compress() from doing anything at all. Reimplemented from Buffer. |
|
Prohibit clear() from doing anything at all. Reimplemented from Buffer. |
|
Prohibit the setting of another IConduit Reimplemented from Buffer. Definition at line 821 of file Buffer.d. References assert(). |