readFileSync
readFileSync(path
, opts
?): null
| ArrayBuffer
Synchronously returns an ArrayBuffer
containing the contents
of the file at path
.
Parameters
Parameter | Type |
---|---|
path | PathLike |
opts ? | ReadFileOptions |
Returns
null
| ArrayBuffer
readFileSync(path
, opts
?): null
| ArrayBuffer
Synchronously returns an ArrayBuffer
containing the contents
of the file at path
.
Parameter | Type |
---|---|
path | PathLike |
opts ? | ReadFileOptions |
null
| ArrayBuffer