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.
Parameters
data | Data to write. |
offset | File offset to write to. |