Convert UDP to initial value

Good day, I have had little use with node red, currently I am using it to send and receive simulink values to node red.
My query is, I am sending a constant with number 1, from simulink to the UDP output, how could I convert it to my real value which is 1?
Sorry I don't have much knowledge about bytes and node js language?


Do you have more information on the packing algorithm that is used?