FileResult.PENDING if the write was submitted, or an error variant.AsyncFile.write
FileResult write(scope const(ubyte)[] data, ulong offset) @trustedWrite data to the file at the given offset.
Data is copied into an internal buffer (Copy semantics). The caller may reuse or free the buffer immediately.
Parameters
data | Data to write. |
offset | File offset to write to. |