读取文件,如果文件不存在则返回null Default use { encoding: 'utf-8' } as options
{ encoding: 'utf-8' }
options
filename or file descriptor
Options for reading the file
string if options.encoding is specified, otherwise Buffer
Buffer
Generated using TypeDoc
读取文件,如果文件不存在则返回null Default use
{ encoding: 'utf-8' }
asoptions