FileResult.PENDING if operation was queued, or error status.AsyncFile.read
FileResult read(ubyte[] buffer, ulong offset) @trustedQueue an async read operation.
The read is performed in a background thread. When complete, the registered onRead callback will be invoked with the data.
Parameters
buffer | Buffer to read data into. |
offset | File offset to read from. |