OPCUA - write byte of array

image
image

Goodmorning,
i must write a byte array with OpcUa (see images).

I created an variabile array, i inserted into variable the values and I moved this variabile into "msg.payload", but this method perhaps in not correct.

What is the correct method?

Thanks