AsyncFile.read

Reads the file into the buffer starting at offset byte position.

  1. bool read(string file_path, size_t len, ulong off, bool create_if_not_exists, bool truncate_if_exists)
  2. bool read(string file_path, ubyte[] buffer, ulong off, bool create_if_not_exists, bool truncate_if_exists)
    class AsyncFile
    nothrow
    bool
    read
    (
    string file_path
    ,
    shared ubyte[] buffer
    ,
    ulong off = -1
    ,
    bool create_if_not_exists = true
    ,
    bool truncate_if_exists = false
    )

Meta