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-15 years ago85,825 downloads
1.2-25 years ago612 downloads
1.2-15 years ago52 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