BufferedDirectReadFile.this

Constructs a new BufferedDirectReadFile.

See notes in BufferedDirectWriteFile about the default buffer size.

  1. this(cstring path, ubyte[] buffer)
    class BufferedDirectReadFile
    this
    (,
    ubyte[] buffer
    )
  2. this(cstring path, size_t buffer_blocks)

Parameters

path cstring

Path of the file to read from.

buffer ubyte[]

Buffer to use for reading, the length must be multiple of the BLOCK_SIZE and the memory must be aligned to the BLOCK_SIZE

Meta