Missing 0 in hex output

Hi, I’m trying to fill missing “0” charters in a string.

I have a XOR function that outputs an array, when I change this to a string it removes the leading zero which I need.

E.g:

BD 64 5A 44 5F DE 6 BA

I need the output to show 16 characters:

BD 64 5A 44 5F DE 06 BA

How do fill the missing 0 in a string?

Show us what the incoming data looks like in a debug node and show us the code you are using to convert it.

Hi Colin,

I got this working using the buffer-parser node

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.