llrt icon indicating copy to clipboard operation
llrt copied to clipboard

readfile API does not return a string when encoding utf-8 is passed

Open fredbonin opened this issue 11 months ago • 0 comments

As seen here, if encoding is passed a string should be returned instead of a Buffer

https://nodejs.org/api/fs.html#filehandlereadfileoptions

fredbonin avatar Mar 10 '24 16:03 fredbonin