Hi,
I have a very basic question, however I can't seem to find the answer.
I have a program that writes data to node-red using the TCP IN node.
The data only comes in correctly when I configure the TCP in node as a stream of buffer payloads.
This way, when enabling my debug node I get each 'line' of input as a buffer[7].
The readable content of this buffer is exactly the way I need it, but to further process the data ( e.g. do deduplication' etc) I need to be able to convert the buffer to a string without changing its content ( without decoding to UTF-8 or whatever).
Example of the payload here below,
msg.payload : buffer [7]04f92e8a053484
Can someone bring some enlightment on how to do this ?
Thanks