FileResult.PENDING if the read was submitted, or an error variant.AsyncFile.read
FileResult read(ubyte[] buffer, ulong offset) @trustedRead data from the file at the given offset.
Caller-owned buffer. The caller must not modify the buffer until the read callback fires.
Parameters
buffer | Buffer to read into. |
offset | File offset to read from. |