You are reading a single comment by @indianajones and its replies.
Click here to read the full conversation.
-
Big Clue: 'which is the same as what I get if don't have try/catch'
What is a Ctrl+C in hex and is that in the data stream?
Could it be possible that the alignment of those single hex values (off by four bits) get interpreted as the hex equivalent of Ctrl+C ?
EDIT:
So, we are looking for 0x03 or 0b00000011 or 0000 0011 in that stream.
Yes, the memory error occurs on console.log() is in line 3 of that example, where I'm trying to dump the entire 18k buffer. But again, it kinda doesn't matter that I suck at being able to dump the data - I know it's short 6kb or so.
If I use your try/catch sample above, I get this (which is the same as what I get if don't have try/catch):