How to use Lua to obtain the data of the required data packet in Suricata

image
I’m writing a lua script for a rule. Is there any way for Lua to get the data in hexadecimal?

here is my full code: