fs.read(fd[, options], callback)
fd<integer>options<Object>buffer<Buffer> | <TypedArray> | <DataView> 默认值:Buffer.alloc(16384)offset<integer> 默认值:0length<integer> 默认值:buffer.byteLength - offsetposition<integer> | <bigint> | <null> 默认值:null
callback<Function>
与 fs.read() 函数类似,这个版本接受一个可选的 options 对象。如果未指定 options 对象,它将使用上述默认值。
【Similar to the fs.read() function, this version takes an optional
options object. If no options object is specified, it will default with the
above values.】