Trying to use string.pack (Lua 5.3 Reference Manual) to serialize some data for sending over user input and position data via UDP sockets. It looks like string.pack isn’t part of Lua 5.1 or LuaJIT.
I did see luaJIT has string.buffer (String Buffer Library), but it’s not enabled by default. But that doesn’t seem to be included in Defold as well.
Any recommendations for serializing strings/data to send over the wire? And help would be appreciated, thanks!