AsyncFile

Only one operation can be pending at any time in the current implementation.

Constructors

this
this(FilePath filename, OpenMode mode, RequirePreexisting require, uint specialFlags, uint permissionMask)

Opens a file in asynchronous access mode.

Members

Functions

read
AsyncReadRequest read(ubyte[] buffer, long offset)
write
AsyncWriteRequest write(const(void)[] buffer, long offset)

Inherited Members

From AbstractFile

OpenMode
enum OpenMode
RequirePreexisting
enum RequirePreexisting
close
void close()

Meta