aio_read


Description:


public Future aio_read (AioContext? aio_context, int fd, out unowned uint8[] buffer, int64 offset)

An asynchronous `pread()` wrapper.

Generally you want to provide `NULL` for the aio_context as that will get the default aio context for your scheduler.

Parameters:

offset

the positioned offset within fd to read from

count

the number of bytes to read

Returns:

a future that will resolve when the read completes or rejects with error.


Namespace: Dex
Package: libdex-1