FileResult.PENDING if operation was queued, or error status.AsyncFile.write
FileResult write(scope const(ubyte)[] data, ulong offset) @trustedQueue an async write operation.
The write is performed asynchronously. When complete, the registered onWrite callback will be invoked with bytes written.
data is copied (TERMINOLOGY.md). The caller may reuse the buffer immediately.
Parameters
data | Data to write. |
offset | File offset to write to. |