function readSync
Jump to headingreadSync(): number
Returns the number of bytesRead
.
For detailed information, see the documentation of the asynchronous version of this API: read.
Parameters Jump to heading
Jump to headingfd: number
Jump to headingbuffer: ArrayBufferView
Jump to headingoffset: number
Jump to headinglength: number
optional
Jump to headingposition: ReadPosition | null = 'null'
Return Type Jump to heading
number
Jump to headingreadSync(): number
Similar to the above fs.readSync
function, this version takes an optional options
object.
If no options
object is specified, it will default with the above values.
Parameters Jump to heading
Jump to headingfd: number
Jump to headingbuffer: ArrayBufferView
optional
Jump to headingopts: ReadSyncOptions
Return Type Jump to heading
number