Module:User:Surjection/hexdump

This is a private module sandbox of Surjection, for their own experimentation. Items in this module may be added and removed at Surjection's discretion; do not rely on this module's stability.


return function(s)
	local r = {}
	for i = 1, #s do
		table.insert(r, string.format("%02X", s:byte(i)))
	end
	return table.concat(r, " ")
end