I get this buffer from my serial port:
<Buffer 04 02 08 dc>
The 2nd byte says how many bytes do I need to parse my from response data. So I need to parse these two bytes 08 dc, and convert them to long unsigned.
How do I do it in JavaScript on a Node.js server?