-
So I'm dealing with some large files (2GB) and I want to read the message and decrypt using Streams. I've seen some example codes but it's still giving out of memory error. Here is my current code: Am I missing something? Node: v20.10.0
|
Beta Was this translation helpful? Give feedback.
Answered by
larabr
Apr 9, 2024
Replies: 2 comments 2 replies
-
Hi, can you provide lib version and Node version? |
Beta Was this translation helpful? Give feedback.
1 reply
-
You are reading the file incorrectly: since it's armored data, you need to pass |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
GJakobi
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You are reading the file incorrectly: since it's armored data, you need to pass
{ encoding: 'utf8' }
tocreateReadStream