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 ago118,608 downloads
1.2-210 years ago1,680 downloads
1.2-110 years ago138 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