Public Member Functions | |
void | truncate () |
long | seek (long offset, SeekAnchor anchor) |
MappedBuffer | createMappedBuffer () |
Protected Member Functions | |
override int | reader (void[] dst) |
override int | writer (void[] src) |
Private Member Functions | |
void | _reopen (FileDevice device) |
void | _open (FileStyle style) |
void | _close () |
Private Attributes | |
MappedBuffer | mapped |
HANDLE | handle |
bool | appending |
Definition at line 338 of file FileConduit.d.
|
Gain access to the standard IO handles (console etc). Definition at line 362 of file FileConduit.d. References FileDevice::id. |
|
Open a file with the provided style. Definition at line 374 of file FileConduit.d. References ConduitStyle::access(), FileStyle::cache(), FileStyle::Open, FileStyle::open(), FileStyle::share(), and FilePath::toUtf16(). |
|
Close the underlying file Definition at line 439 of file FileConduit.d. |
|
Read a chunk of bytes from the file into the provided array (typically that belonging to an IBuffer) Definition at line 452 of file FileConduit.d. |
|
Write a chunk of bytes to the file from the provided array (typically that belonging to an IBuffer) Definition at line 472 of file FileConduit.d. |
|
Set the file size to be that of the current seek position. The file must be writable for this to succeed. Definition at line 493 of file FileConduit.d. |
|
Set the file seek position to the specified offset from the given anchor. Definition at line 507 of file FileConduit.d. References MappedBuffer::seek(). |
|
Create a memory-mapped buffer of the entire file Definition at line 529 of file FileConduit.d. |
|
Definition at line 340 of file FileConduit.d. |
|
Definition at line 341 of file FileConduit.d. |
|
Definition at line 342 of file FileConduit.d. |