ReadFileOptions
Parameters
encoding
The encoding to use for the file read operation; optional. If not specified, files are read as raw Buffer
values; otherwise, the file is read as a string.
flag
The flag to use for the file read operation; defaults to r
.
signal
Abort signal to use for the operation; optional.