A library to convert Lua values to and from C structs
$ luarocks install struct
This library offers basic facilities to convert Lua values to and
from C structs. Its main functions are struct.pack, which packs
multiple Lua values into a struct-like string; and struct.unpack,
which unpacks multiple Lua values from a given struct-like string.