Buffer-parser parsing 32bitBE fails

I have trouble to parse 32bit Value using buffer-parser node

This is the Input:
[ff,ff,ef,a0]

SyntaxError: Unexpected token f in JSON at position 2

My expected Value is:
-4192

Thanks for help
Joseph

We are good, but I'm afraid we are not mind readers :slight_smile:

You will have to share the data going into the buffer-parser and how you have it setup (at minimum) for us to help you.

For a buffer input you have to convert into decimal numbers.

Then your buffer node does what you expect:

Or use strings ["0xff","0xff","0xef","0xa0"] ...
image

image

Thank you Steve,

I have seen, the Problem was the inject-node sending the error (not the 'buffer parser')

Cu Joseph

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