• fd {integer}
    • options {Object}
      • buffer {Buffer|TypedArray|DataView} Default: Buffer.alloc(16384)
      • offset {integer} Default: 0
      • length {integer} Default: buffer.length
      • position {integer} Default: null
    • callback {Function}
      • err {Error}
      • bytesRead {integer}
      • buffer {Buffer}

    Similar to the above fs.read function, this version takes an optional options object. If no options object is specified, it will default with the above values.