This is a function prior to the "buffer parser" node. It sets the values in the proper object. You can see I am setting a value in a variable and using the variable in the object. It gets the payload which is a buffer type, sets the object value and passes this with the original payload untouched.
If the purpose of the dynamic spec (above) is to convert the full input buffer to a HEX string, you can achieve this in the UI also. Just specify the length as -1
length (Number|optional) The quantity of items to be returned. e.g. 6 bools or 12 floats or 34 int32s. NOTE: setting length to -1 will attempt to read all bytes from offset to the end. NOTE: If source data does not have enough bytes, the operation will fail.`
The salient detail being "setting length to -1 will attempt to read all bytes from offset to the end"
Steve,
To be honest, I missed that particular entry and went for the spec to get how to modify it on the fly. Being handy to be able to set the object correctly and manage it.
Yet, I am amazed at my inability to grasp these details when i scan over, instead of read...
Thanks.