Skip to content
Philipp Janda edited this page Mar 16, 2015 · 1 revision

String packing

Although the string packing functions string.pack, and string.unpack are backported from the Lua 5.3 source code, older Lua versions don't have a separate integer type. As a consequence there will be problems when you try to pack/unpack an integer that is bigger than what can be represented exactly in a lua_Number.

Clone this wiki locally