lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


I thank you very much. I will study this module and I am sure it will
solve my problem.


2013/4/30, steve donovan <steve.j.donovan@gmail.com>:
> On Tue, Apr 30, 2013 at 1:00 PM, luciano de souza
> <luchyanus@gmail.com>wrote:
>
>> In order words, I don't know what I should use to read and write a set
>> of bytes in Lua and I don't know how to represent C or Pascal
>> structures.
>>
>> The struct library does the needed packing/unpacking:
>
> http://www.inf.puc-rio.br/~roberto/struct/
>
> If you need speed, then LuaJIT is an attractive proposition since you can
> feed its FFI a struct definition in C format.
>


-- 
Luciano de Souza