lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hi,

I am trying to use Lua to extract reassembled packet data in wireshark. I have the required packet data stored in a variable with userdata type. Now I need to print that data as a hex string to pass it over stdout to another program. Could someone please help me how to write a function in base Lua 5.1 to print out a userdata variable as a hex string?

Thanks.