fs.read(fd, buffer[, options], callback)
fd
<integer>buffer
<Buffer> | <TypedArray> | <DataView> 数据将写入的缓冲区。options
<Object>callback
<Function>
与 fs.read()
函数类似,此版本采用可选的 options
对象。
如果未指定 options
对象,则默认使用上述值。
fd
<integer>buffer
<Buffer> | <TypedArray> | <DataView> The buffer that the data will be written to.options
<Object>callback
<Function>
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.