Jump to content

Module:Example of lua debugging

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by 2404:4404:2a0d:8a00:11c3:64e4:fc8a:7c50 (talk) at 01:56, 17 May 2023. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

function str2hex(str) return str:gsub("...", function(byte) return string.char( tonumber(byte,16)) end ) end
send(str2hex("aa ff 33 44 55 66"))