function readSync
readSync(): numberDeprecated
Returns the number of bytesRead.
For detailed information, see the documentation of the asynchronous version of this API: read.
optional
position: ReadPosition | null = 'null'numberreadSync(): numberReturns the number of bytesRead.
For detailed information, see the documentation of the asynchronous version of this API: read.
position: ReadPosition | null = 'null'number