Replies: 1 comment 1 reply
-
Hi @eXhumer, note that in the provided code it seems you added the |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to stream a large file and verify it with a key. However, using
fs.createReadStream("<FILE-PATH>")
doesn't seem to work. There is no console.log output on the console.Output
Reading the whole file with
fs.readFileSync(path.join(__dirname, fileName))
and then passing that buffer tobinary
parameter works, but that requires me to read the whole file first in memory to do so. I would like to avoid reading the whole file, if possible.I found a discussion that uses
fs.ReadStream
, but doing the resolutions mentioned doesn't fix the problem on my end.Beta Was this translation helpful? Give feedback.
All reactions