struct

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.

Versions

1.4-110 years ago120,377 downloads
1.2-210 years ago1,748 downloads
1.2-110 years ago143 downloads

Dependencies

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

Manifests