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.


1.4-110 years ago114,890 downloads
1.2-210 years ago1,607 downloads
1.2-110 years ago138 downloads


lua >= 5.1

Dependency for

dbf, kong-ip-location, lua-pb, lua-resty-ntlm, lua-websockets, lua-websockets-core, lua-xlsxwriter, lunary, lunary, lyre, OiL, lua-xlsxwriter, ZipWriter, ZipWriter